aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r--tools/perf/util/scripting-engines/trace-event-python.c3
1 files changed, 2 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 40de3cb40d21..57b7a00e6f16 100644
--- a/tools/perf/util/scripting-engines/trace-event-python.c
+++ b/tools/perf/util/scripting-engines/trace-event-python.c
@@ -28,6 +28,7 @@
28#include <stdbool.h> 28#include <stdbool.h>
29#include <errno.h> 29#include <errno.h>
30#include <linux/bitmap.h> 30#include <linux/bitmap.h>
31#include <linux/compiler.h>
31#include <linux/time64.h> 32#include <linux/time64.h>
32 33
33#include "../../perf.h" 34#include "../../perf.h"
@@ -84,7 +85,7 @@ struct tables {
84 85
85static struct tables tables_global; 86static struct tables tables_global;
86 87
87static void handler_call_die(const char *handler_name) NORETURN; 88static void handler_call_die(const char *handler_name) __noreturn;
88static void handler_call_die(const char *handler_name) 89static void handler_call_die(const char *handler_name)
89{ 90{
90 PyErr_Print(); 91 PyErr_Print();