On 26/10/15 11:08, Wangnan (F) wrote:
evsel->system_wide is for mixing evsels that aren't system-wide with ones
evsel->system_wide is introduced by commit
(perf evlist: Add 'system_wide' option), but Adrian only introduced a new field
into perf, doesn't really make it active. Until now the only user of it is
arch/x86/util/intel-pt.c, but I'm not very sure the reason for IPT to use that
If I understand correctly, it should be okay for a normal system wide evsel
this var set. I'll try another RFC for it.
It might work to set it for all system-wide evsels but you will have to
check the code and test it, because that would be using it in a new way
that has never been tested.