perf python: Remove duplicate TID bit from mask
Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thiago Peixoto <thiagolcpeixoto@gmail.com> Link: http://lkml.kernel.org/n/tip-jurgz6myq125o1ql6lldh6f7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
a14bb860a3
commit
3223565cdf
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ def main():
|
||||||
evsel = perf.evsel(task = 1, comm = 1, mmap = 0,
|
evsel = perf.evsel(task = 1, comm = 1, mmap = 0,
|
||||||
wakeup_events = 1, watermark = 1,
|
wakeup_events = 1, watermark = 1,
|
||||||
sample_id_all = 1,
|
sample_id_all = 1,
|
||||||
sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU | perf.SAMPLE_TID)
|
sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU)
|
||||||
evsel.open(cpus = cpus, threads = threads);
|
evsel.open(cpus = cpus, threads = threads);
|
||||||
evlist = perf.evlist(cpus, threads)
|
evlist = perf.evlist(cpus, threads)
|
||||||
evlist.add(evsel)
|
evlist.add(evsel)
|
||||||
|
|
Loading…
Reference in a new issue