diff options
Diffstat (limited to 'tools/perf/util/python.c')
| -rw-r--r-- | tools/perf/util/python.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 6714d2c517db..ebf84fe8cd29 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c | |||
| @@ -340,7 +340,7 @@ static bool is_tracepoint(struct pyrf_event *pevent) | |||
| 340 | } | 340 | } |
| 341 | 341 | ||
| 342 | static PyObject* | 342 | static PyObject* |
| 343 | tracepoint_field(struct pyrf_event *pe, struct format_field *field) | 343 | tracepoint_field(struct pyrf_event *pe, struct tep_format_field *field) |
| 344 | { | 344 | { |
| 345 | struct tep_handle *pevent = field->event->pevent; | 345 | struct tep_handle *pevent = field->event->pevent; |
| 346 | void *data = pe->sample.raw_data; | 346 | void *data = pe->sample.raw_data; |
| @@ -383,7 +383,7 @@ get_tracepoint_field(struct pyrf_event *pevent, PyObject *attr_name) | |||
| 383 | { | 383 | { |
| 384 | const char *str = _PyUnicode_AsString(PyObject_Str(attr_name)); | 384 | const char *str = _PyUnicode_AsString(PyObject_Str(attr_name)); |
| 385 | struct perf_evsel *evsel = pevent->evsel; | 385 | struct perf_evsel *evsel = pevent->evsel; |
| 386 | struct format_field *field; | 386 | struct tep_format_field *field; |
| 387 | 387 | ||
| 388 | if (!evsel->tp_format) { | 388 | if (!evsel->tp_format) { |
| 389 | struct tep_event_format *tp_format; | 389 | struct tep_event_format *tp_format; |
