Re: [PATCH RFC] perf: Let PMUs provide supplementary information

From: Jiri Olsa
Date: Sun Jul 26 2015 - 12:36:48 EST


On Fri, Jul 24, 2015 at 10:46:09AM +0300, Adrian Hunter wrote:
> This is a follow-up to "[RFC PATCH] perf: Provide status of known PMUs" i.e.
>
> https://lkml.kernel.org/r/1436428080-3098-1-git-send-email-adrian.hunter@xxxxxxxxx
>
> There are 3 main changes:
> - uses debugfs not sysfs
> - doesn't require a PMU to be on the list of known PMU's
> - renamed from 'known_pmus' to 'pmu_supplementary_info'

do you plan any perf tool related change?
'perf list' could display this info

tested..

[root@ibm-x3650m4-01 pmu_supplementary_info]# pwd
/sys/kernel/debug/perf/pmu_supplementary_info
[root@ibm-x3650m4-01 pmu_supplementary_info]# ll
total 0
-r--r--r--. 1 root root 0 Jul 26 18:22 intel_bts
-r--r--r--. 1 root root 0 Jul 26 18:22 intel_pt
[root@ibm-x3650m4-01 pmu_supplementary_info]# cat *
Enabled
Disabled: Not supported by the hardware

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/