diff options
author | 2024-06-28 14:56:11 -0700 | |
---|---|---|
committer | 2024-07-02 19:49:54 +0200 | |
commit | 603cf1e28838a01e4f140c3054ce147f8b087d08 (patch) | |
tree | 8a882d973c5d7ec99ef08cb1141b750fcfa59431 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/resctrl: Initialize on-stack struct rmid_read instances (diff) | |
download | linux-rng-603cf1e28838a01e4f140c3054ce147f8b087d08.tar.xz linux-rng-603cf1e28838a01e4f140c3054ce147f8b087d08.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions