Skip to content

Commit 2b022a8

Browse files
committed
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 <torvalds@linux-foundation.org> 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> Link: http://lkml.kernel.org/n/tip-ja4phms9618ggi657plyuch2@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 9e59e09 commit 2b022a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/perf/util/python.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist,
803803
first = list_entry(evlist->entries.next, struct perf_evsel, node);
804804
err = perf_event__parse_sample(event, first->attr.sample_type,
805805
perf_evsel__sample_size(first),
806-
sample_id_all, &pevent->sample);
806+
sample_id_all, &pevent->sample, false);
807807
if (err)
808808
return PyErr_Format(PyExc_OSError,
809809
"perf: can't parse sample, err=%d", err);

0 commit comments

Comments
 (0)