summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2021-04-12 17:30:58 +0300
committerPeter Zijlstra <peterz@infradead.org>2021-04-19 21:03:28 +0300
commit58ae30c29a370c09eb49e0007d881a9aed13c5a3 (patch)
treef6296e079a60f79ee6f5e6e2b1bc830b8e7fc9d4 /tools/perf/scripts/python/mem-phys-addr.py
parenta9c81ccdf52dd73a20178c40bca34cf52991fdea (diff)
downloadlinux-58ae30c29a370c09eb49e0007d881a9aed13c5a3.tar.xz
perf/x86/intel: Add attr_update for Hybrid PMUs
The attribute_group for Hybrid PMUs should be different from the previous cpu PMU. For example, cpumask is required for a Hybrid PMU. The PMU type should be included in the event and format attribute. Add hybrid_attr_update for the Hybrid PMU. Check the PMU type in is_visible() function. Only display the event or format for the matched 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-19-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions