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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 26e5f14239ed..56ba07cce549 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c | |||
@@ -639,6 +639,11 @@ error: | |||
639 | return err; | 639 | return err; |
640 | } | 640 | } |
641 | 641 | ||
642 | static int python_flush_script(void) | ||
643 | { | ||
644 | return 0; | ||
645 | } | ||
646 | |||
642 | /* | 647 | /* |
643 | * Stop trace script | 648 | * Stop trace script |
644 | */ | 649 | */ |
@@ -823,6 +828,7 @@ static int python_generate_script(struct pevent *pevent, const char *outfile) | |||
823 | struct scripting_ops python_scripting_ops = { | 828 | struct scripting_ops python_scripting_ops = { |
824 | .name = "Python", | 829 | .name = "Python", |
825 | .start_script = python_start_script, | 830 | .start_script = python_start_script, |
831 | .flush_script = python_flush_script, | ||
826 | .stop_script = python_stop_script, | 832 | .stop_script = python_stop_script, |
827 | .process_event = python_process_event, | 833 | .process_event = python_process_event, |
828 | .generate_script = python_generate_script, | 834 | .generate_script = python_generate_script, |