diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-12-15 17:05:00 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-02-13 13:56:44 -0700 |
commit | 3c6bfc9cc7f0e3bed76ff0a7ed5bf89059b7b0bd (patch) | |
tree | 84e6b5900fa7e221074a33ddef9f28bd19a02339 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 33403bc7fe2ec35cd87e4f11db4d1a1da1e5ce12 (diff) | |
download | linux-3c6bfc9cc7f0e3bed76ff0a7ed5bf89059b7b0bd.tar.gz linux-3c6bfc9cc7f0e3bed76ff0a7ed5bf89059b7b0bd.tar.bz2 linux-3c6bfc9cc7f0e3bed76ff0a7ed5bf89059b7b0bd.zip |
selftests/resctrl: Remove nested calls in perf event handling
Perf event handling has functions that are the sole caller of another
perf event handling related function:
- reset_enable_llc_perf() calls perf_event_open_llc_miss()
- perf_event_measure() calls get_llc_perf()
Remove the extra layer of calls to make the code easier to follow by
moving the code into the calling function.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions