path: root/tools
diff options
authorArnaldo Carvalho de Melo <>2011-09-23 15:38:53 -0300
committerArnaldo Carvalho de Melo <>2011-09-23 15:38:53 -0300
commit2b022a82a01737012155b5ba462db74232ff1f2e (patch)
tree18cabe19d2884ae5d5bf07e605d75c96fb5406e6 /tools
parent9e59e0995a57048c53773f1de99c6637ad12dd25 (diff)
perf python: Add missing perf_event__parse_sample 'swapped' parm
Problem introduced in 936be50, that missed one perf_event__parse_sample user, the python binding. Reported-by: Linus Torvalds <> Cc: David Ahern <> Cc: Frederic Weisbecker <> Cc: Mike Galbraith <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools')
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c
index cbc8f215d4b7..7624324efad4 100644
--- a/tools/perf/util/python.c
+++ b/tools/perf/util/python.c
@@ -803,7 +803,7 @@ static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist,
first = list_entry(evlist->, struct perf_evsel, node);
err = perf_event__parse_sample(event, first->attr.sample_type,
- sample_id_all, &pevent->sample);
+ sample_id_all, &pevent->sample, false);
if (err)
return PyErr_Format(PyExc_OSError,
"perf: can't parse sample, err=%d", err);