aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-12-15 17:05:02 +0200
committerShuah Khan <skhan@linuxfoundation.org>2024-02-13 13:56:44 -0700
commit038ce802e248a985150156da84bc3f118236b898 (patch)
tree8e69b70a6825521285d83d29b8ef6ba43846c024 /tools/perf/scripts/python/exported-sql-viewer.py
parentb6e6a582f2b357b6f74849b715de12cc38b1ee91 (diff)
downloadlinux-038ce802e248a985150156da84bc3f118236b898.tar.gz
linux-038ce802e248a985150156da84bc3f118236b898.tar.bz2
linux-038ce802e248a985150156da84bc3f118236b898.zip
selftests/resctrl: Improve perf init
struct perf_event_attr initialization is spread into perf_event_initialize() and perf_event_attr_initialize() and setting ->config is hardcoded by the deepest level. perf_event_attr init belongs to perf_event_attr_initialize() so move it entirely there. Rename the other function perf_event_initialized_read_format(). Call each init function directly from the test as they will take different parameters (especially true after the perf related global variables are moved to local variables). 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