aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2021-04-12 07:30:55 -0700
committerPeter Zijlstra <peterz@infradead.org>2021-04-19 20:03:27 +0200
commite11c1a7eb302ac8f6f47c18fa662546405a5fd83 (patch)
treecdeca58fe80a3069d8cc42fbe6402c0a0e42d157 /include/linux/perf_event.h
parentperf/x86: Remove temporary pmu assignment in event_init (diff)
downloadlinux-dev-e11c1a7eb302ac8f6f47c18fa662546405a5fd83.tar.xz
linux-dev-e11c1a7eb302ac8f6f47c18fa662546405a5fd83.zip
perf/x86: Factor out x86_pmu_show_pmu_cap
The PMU capabilities are different among hybrid PMUs. Perf should dump the PMU capabilities information for each hybrid PMU. Factor out x86_pmu_show_pmu_cap() which shows the PMU capabilities information. The function will be reused later when registering a dedicated hybrid PMU. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Andi Kleen <ak@linux.intel.com> Link: https://lkml.kernel.org/r/1618237865-33448-16-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'include/linux/perf_event.h')
0 files changed, 0 insertions, 0 deletions