diff options
author | Tony Luck <[email protected]> | 2024-06-28 14:56:18 -0700 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-07-02 20:02:11 +0200 |
commit | 13488150f5e2a9b84a335ae18bee33a918ead85d (patch) | |
tree | d7c270a79092cd0c691071e00db0104fd8d2bcd9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 21b362cc762aabb3e8496d33d7b4538154c95a0b (diff) |
x86/resctrl: Detect Sub-NUMA Cluster (SNC) mode
There isn't a simple hardware bit that indicates whether a CPU is running in
Sub-NUMA Cluster (SNC) mode. Infer the state by comparing the number of CPUs
sharing the L3 cache with CPU0 to the number of CPUs in the same NUMA node as
CPU0.
Add the missing definition of pr_fmt() to monitor.c. This wasn't noticed
before as there are only "can't happen" console messages from this file.
[ bp: Massage commit message. ]
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