Re: [PATCH 10/10] perf stat: Support inherit/no-inherit terms

From: Andi Kleen
Date: Thu Aug 24 2017 - 12:30:39 EST


On Thu, Aug 24, 2017 at 06:27:37PM +0200, Jiri Olsa wrote:
> Adding support to use 'inherit' and 'no-inherit' terms
> in perf stat command, like:
>
> To disable perf_event_attr::inherit (enabled by default):
>
> $ perf stat -e cpu/cpu-cycles,no-inherit/u ...
>
> Enable perf_event_attr::inherit (disabled by -i):
>
> $ perf stat -i -e cpu/cpu-cycles,inherit/u ...

User documentation is missing.

-Andi