]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/lib/traceevent/plugin_function.c
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / tools / lib / traceevent / plugin_function.c
index a00ec190821aa352234ddf11f5d6ab3bb911dc5f..42dbf73758f3425f20c3401a5c64f024459ddfaf 100644 (file)
@@ -130,7 +130,7 @@ static int function_handler(struct trace_seq *s, struct pevent_record *record,
        unsigned long long pfunction;
        const char *func;
        const char *parent;
-       int index;
+       int index = 0;
 
        if (pevent_get_field_val(s, event, "ip", record, &function, 1))
                return trace_seq_putc(s, '!');