Re: [PATCH 5/9] perf tools: Disable write_backward for leader sampling group events

From: Arnaldo Carvalho de Melo
Date: Mon Apr 23 2018 - 10:23:31 EST


Em Mon, Apr 23, 2018 at 11:08:19AM +0200, Jiri Olsa escreveu:
> .. and other related fields that do not need to be enabled
> for events that have sampling leader.
>
> It fixes the perf top usage Ingo reported broken:
>
> # perf top -e '{cycles,msr/aperf/}:S'
>
> The msr/aperf/ is configured for write_back sampling, which
> is not allowed by msr pmu, so it fails to create the event.
>
> Adjusting related attr test.

Applied to perf/urgent.

- Arnaldo