mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
Merge branch 'perf-tools-for-linus' of git://github.com/acmel/linux
* 'perf-tools-for-linus' of git://github.com/acmel/linux: perf python: Add missing perf_event__parse_sample 'swapped' parm
This commit is contained in:
commit
78bbd284e8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue