diff options
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
-rw-r--r-- | tools/lib/traceevent/plugin_function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/plugin_function.c b/tools/lib/traceevent/plugin_function.c index a00ec190821a..42dbf73758f3 100644 --- a/tools/lib/traceevent/plugin_function.c +++ b/tools/lib/traceevent/plugin_function.c | |||
@@ -130,7 +130,7 @@ static int function_handler(struct trace_seq *s, struct pevent_record *record, | |||
130 | unsigned long long pfunction; | 130 | unsigned long long pfunction; |
131 | const char *func; | 131 | const char *func; |
132 | const char *parent; | 132 | const char *parent; |
133 | int index; | 133 | int index = 0; |
134 | 134 | ||
135 | if (pevent_get_field_val(s, event, "ip", record, &function, 1)) | 135 | if (pevent_get_field_val(s, event, "ip", record, &function, 1)) |
136 | return trace_seq_putc(s, '!'); | 136 | return trace_seq_putc(s, '!'); |