summaryrefslogtreecommitdiff
path: root/arch/x86/events/intel/uncore.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@amd.com>2020-09-21 09:43:30 -0500
committerPeter Zijlstra <peterz@infradead.org>2020-09-24 15:55:50 +0200
commit9ed9647dc0671486f9e998b7258f75167a9c4697 (patch)
treed0e3bfa9078817601655ae70f495f862f1228c38 /arch/x86/events/intel/uncore.c
parent87a54a1fd525f2af8d82becf583c7e836918cf22 (diff)
perf/amd/uncore: Inform the user how many counters each uncore PMU has
Previously, the uncore driver would say "NB counters detected" on F17h machines, which don't have NorthBridge (NB) counters. They have Data Fabric (DF) counters. Just use the pmu.name to inform users which pmu to use and its associated counter count. F17h dmesg BEFORE: amd_uncore: AMD NB counters detected amd_uncore: AMD LLC counters detected F17h dmesg AFTER: amd_uncore: 4 amd_df counters detected amd_uncore: 6 amd_l3 counters detected Signed-off-by: Kim Phillips <kim.phillips@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200921144330.6331-5-kim.phillips@amd.com
Diffstat (limited to 'arch/x86/events/intel/uncore.c')
0 files changed, 0 insertions, 0 deletions