Messages in this thread | | | Date | Wed, 3 Feb 2021 12:36:29 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] perf metricgroup: Fix segmentation fault for metrics with no pmu event |
| |
Em Wed, Feb 03, 2021 at 08:46:52AM +0800, Jin, Yao escreveu: > On 2/2/2021 4:15 PM, John Garry wrote: > > On 02/02/2021 02:24, Jin Yao wrote: > > > It causes the segmentation fault. Now check the pmu_name before strcmp.
> > > Fixes: c2337d67199a("perf metricgroup: Fix metrics using aliases covering multiple PMUs") > > > Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
> > This should be fixed in v5.11-rc6 - please check it.
> > 9c880c24cb0d perf metricgroup: Fix for metrics containing duration_time
> Oh, I see, your patch is in Arnaldo's perf/urgent branch. Sorry about that, > I just tested Arnaldo's perf/core branch. :(
As soon as I finish processing patches today and get perf/core thru the usual set of tests, it'll all be in perf/core.
- Arnaldo
| |