History

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.

Arnaldo Carvalho de Melo committed 15 years ago

Commit 2b022a81 parent 9e59e091 file · +1 −1Browse files

Unified · Split

tools/perf/util/python.c+1−1
@@ -803,7 +803,7 @@ static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist, · 802 unmodified lines
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);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t