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 ce501ba14b08..6714d2c517db 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c | |||
| @@ -386,7 +386,7 @@ get_tracepoint_field(struct pyrf_event *pevent, PyObject *attr_name) | |||
| 386 | struct format_field *field; | 386 | struct format_field *field; |
| 387 | 387 | ||
| 388 | if (!evsel->tp_format) { | 388 | if (!evsel->tp_format) { |
| 389 | struct event_format *tp_format; | 389 | struct tep_event_format *tp_format; |
| 390 | 390 | ||
| 391 | tp_format = trace_event__tp_format_id(evsel->attr.config); | 391 | tp_format = trace_event__tp_format_id(evsel->attr.config); |
| 392 | if (!tp_format) | 392 | if (!tp_format) |
| @@ -1240,7 +1240,7 @@ static struct { | |||
| 1240 | static PyObject *pyrf__tracepoint(struct pyrf_evsel *pevsel, | 1240 | static PyObject *pyrf__tracepoint(struct pyrf_evsel *pevsel, |
| 1241 | PyObject *args, PyObject *kwargs) | 1241 | PyObject *args, PyObject *kwargs) |
| 1242 | { | 1242 | { |
| 1243 | struct event_format *tp_format; | 1243 | struct tep_event_format *tp_format; |
| 1244 | static char *kwlist[] = { "sys", "name", NULL }; | 1244 | static char *kwlist[] = { "sys", "name", NULL }; |
| 1245 | char *sys = NULL; | 1245 | char *sys = NULL; |
| 1246 | char *name = NULL; | 1246 | char *name = NULL; |
