Re: [PATCH] perf tool: arch: arm64: change the way for get_cpuid_str() function

2019-07-19 Thread Will Deacon
On Fri, Jul 19, 2019 at 08:29:12AM +, Joakim Zhang wrote: > > On Thu, Jul 18, 2019 at 06:21:30AM +, Joakim Zhang wrote: > > > Now the get_cpuid__str function returns the MIDR string of the first > > > online cpu from the range of cpus asscociated with the PMU CORE device. > > > > > > It can

RE: [PATCH] perf tool: arch: arm64: change the way for get_cpuid_str() function

2019-07-19 Thread Joakim Zhang
..@arm.com > Subject: Re: [PATCH] perf tool: arch: arm64: change the way for > get_cpuid_str() > function > > On Thu, Jul 18, 2019 at 06:21:30AM +, Joakim Zhang wrote: > > Now the get_cpuid__str function returns the MIDR string of the first > > online cpu from the

Re: [PATCH] perf tool: arch: arm64: change the way for get_cpuid_str() function

2019-07-19 Thread Will Deacon
On Thu, Jul 18, 2019 at 06:21:30AM +, Joakim Zhang wrote: > Now the get_cpuid__str function returns the MIDR string of the first > online cpu from the range of cpus asscociated with the PMU CORE device. > > It can work when pass a perf_pmu entity to get_cpuid_str. However, it > will pass NULL

[PATCH] perf tool: arch: arm64: change the way for get_cpuid_str() function

2019-07-17 Thread Joakim Zhang
Now the get_cpuid__str function returns the MIDR string of the first online cpu from the range of cpus asscociated with the PMU CORE device. It can work when pass a perf_pmu entity to get_cpuid_str. However, it will pass NULL via perf_pmu__find_map from metricgroup.c if we want to add metric group