summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2024-06-29 00:56:11 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2024-07-02 20:49:54 +0300
commit603cf1e28838a01e4f140c3054ce147f8b087d08 (patch)
tree8a882d973c5d7ec99ef08cb1141b750fcfa59431 /tools/perf/scripts/python/task-analyzer.py
parent587edd7069b9e7dc7993d2df9371e7c37a4d2133 (diff)
downloadlinux-603cf1e28838a01e4f140c3054ce147f8b087d08.tar.xz
x86/resctrl: Refactor mkdir_mondata_subdir() with a helper function
In Sub-NUMA Cluster (SNC) mode Linux must create the monitor files in the original "mon_L3_XX" directories and also in each of the "mon_sub_L3_YY" directories. Refactor mkdir_mondata_subdir() to move the creation of monitoring files into a helper function to avoid the need to duplicate code later. No functional change. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Tested-by: Babu Moger <babu.moger@amd.com> Link: https://lore.kernel.org/r/20240628215619.76401-12-tony.luck@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions