diff options
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 09604c6508f0..22f52b669871 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c | |||
@@ -837,7 +837,7 @@ static void python_process_tracepoint(struct perf_sample *sample, | |||
837 | ns = nsecs - s * NSEC_PER_SEC; | 837 | ns = nsecs - s * NSEC_PER_SEC; |
838 | 838 | ||
839 | scripting_context->event_data = data; | 839 | scripting_context->event_data = data; |
840 | scripting_context->pevent = evsel->tp_format->pevent; | 840 | scripting_context->pevent = evsel->tp_format->tep; |
841 | 841 | ||
842 | context = _PyCapsule_New(scripting_context, NULL, NULL); | 842 | context = _PyCapsule_New(scripting_context, NULL, NULL); |
843 | 843 | ||