Skip to contentSkip to conversation

perf python: Remove duplicate TID bit from mask

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Aug 12, 2013 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  3223565cdf856fa07024e5db7ca24e1b1b38d1db
Gitweb:     http://git.kernel.org/tip/3223565cdf856fa07024e5db7ca24e1b1b38d1db
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Thu, 1 Aug 2013 17:00:45 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 7 Aug 2013 17:35:25 -0300

perf python: Remove duplicate TID bit from mask

Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Thiago Peixoto <[email protected]>
---
 tools/perf/python/twatch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/python/twatch.py +1 -1
index b11cca5..2225162 100755
@@ -21,7 +21,7 @@ def main():
 	evsel = perf.evsel(task = 1, comm = 1, mmap = 0,
 			   wakeup_events = 1, watermark = 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);
 	evlist = perf.evlist(cpus, threads)
 	evlist.add(evsel)