aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/probe-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index 3967f8f63d0d..4fb480367c3e 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -1263,7 +1263,7 @@ static struct strlist *get_kprobe_trace_event_names(int fd, bool include_group)
1263 1263
1264static int write_kprobe_trace_event(int fd, struct kprobe_trace_event *tev) 1264static int write_kprobe_trace_event(int fd, struct kprobe_trace_event *tev)
1265{ 1265{
1266 int ret; 1266 int ret = 0;
1267 char *buf = synthesize_kprobe_trace_command(tev); 1267 char *buf = synthesize_kprobe_trace_command(tev);
1268 1268
1269 if (!buf) { 1269 if (!buf) {