Re: [PATCH 0/7] perf stat: Change event enable code
From: Arnaldo Carvalho de Melo
Date: Mon Dec 07 2015 - 16:09:25 EST
Em Thu, Dec 03, 2015 at 10:06:39AM +0100, Jiri Olsa escreveu:
> hi,
> while testing ftrace:function event I noticed we create
> stat counters as enabled (except for enable_on_exec couters).
>
> This way we count also filter setup and other config code
> which might be crucial for some events.
>
> Posponing the events enable once everything is ready.
>
> The last patch is RFC as I wasn't sure there's some hidden
> catch about perf_evlist__(enable|disable)_event functions
> I missed.. Adrian?
They look the same, Adrian?
Applied the first 6, will give some more time to Adrian to chime in.
- Arnaldo
--
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/