diff options
author | Tony Luck <[email protected]> | 2024-06-28 14:56:11 -0700 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-07-02 19:49:54 +0200 |
commit | 603cf1e28838a01e4f140c3054ce147f8b087d08 (patch) | |
tree | 8a882d973c5d7ec99ef08cb1141b750fcfa59431 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 587edd7069b9e7dc7993d2df9371e7c37a4d2133 (diff) |
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 <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Tested-by: Babu Moger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions