diff options
author | Jiri Kosina <jkosina@suse.cz> | 2018-10-23 14:16:33 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-10-23 14:16:33 +0300 |
commit | 472475000979a156bc32cd75caa59737f5a1caa5 (patch) | |
tree | 6a98319244f7954237cf866c8862ffe3f6128d2d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 712fca63f50a87780ca6dc105370557a945a7ee8 (diff) | |
parent | 9d7b18668956c411a422d04c712994c5fdb23a4b (diff) | |
download | linux-472475000979a156bc32cd75caa59737f5a1caa5.tar.xz |
Merge branch 'for-4.20/apple' into for-linus
Support for Apple Magic Trackpad 2
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index bc32e57d17be..dfc6093f118c 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c @@ -871,8 +871,8 @@ static void python_process_tracepoint(struct perf_sample *sample, offset = field->offset; len = field->size; if (field->flags & FIELD_IS_DYNAMIC) { - val = pevent_read_number(scripting_context->pevent, - data + offset, len); + val = tep_read_number(scripting_context->pevent, + data + offset, len); offset = val; len = offset >> 16; offset &= 0xffff; @@ -1588,7 +1588,7 @@ static int python_stop_script(void) return 0; } -static int python_generate_script(struct pevent *pevent, const char *outfile) +static int python_generate_script(struct tep_handle *pevent, const char *outfile) { struct event_format *event = NULL; struct format_field *f; |