Skip to content

Commit

Permalink
Merge branch 'perf-tools-for-linus' of git://github.com/acmel/linux
Browse files Browse the repository at this point in the history
* 'perf-tools-for-linus' of git://github.com/acmel/linux:
  perf python: Add missing perf_event__parse_sample 'swapped' parm
  • Loading branch information
Linus Torvalds committed Sep 23, 2011
2 parents eab8bcb + 2b022a8 commit 78bbd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perf/util/python.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist,
first = list_entry(evlist->entries.next, struct perf_evsel, node);
err = perf_event__parse_sample(event, first->attr.sample_type,
perf_evsel__sample_size(first),
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);
Expand Down

0 comments on commit 78bbd28

Please sign in to comment.