Re: [PATCH] perf tools: Do not zero sample_id_all for group members

2018-09-23 Thread Andi Kleen
On Sun, Sep 23, 2018 at 05:04:20PM +0200, Jiri Olsa wrote: > Andi reported following malfunction: > > # perf record -e '{ref-cycles,cycles}:S' -a sleep 1 > # perf script > non matching sample_id_all > > That's because we disable sample_id_all bit for non-sampling > group members. We can't d

[PATCH] perf tools: Do not zero sample_id_all for group members

2018-09-23 Thread Jiri Olsa
Andi reported following malfunction: # perf record -e '{ref-cycles,cycles}:S' -a sleep 1 # perf script non matching sample_id_all That's because we disable sample_id_all bit for non-sampling group members. We can't do that, because it needs to be the same over the whole event list. This pat