diff options
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
-rw-r--r-- | tools/lib/traceevent/plugin_function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/traceevent/plugin_function.c b/tools/lib/traceevent/plugin_function.c index 50cc356124f6..0962120960eb 100644 --- a/tools/lib/traceevent/plugin_function.c +++ b/tools/lib/traceevent/plugin_function.c | |||
@@ -132,12 +132,12 @@ static int function_handler(struct trace_seq *s, struct tep_record *record, | |||
132 | const char *parent; | 132 | const char *parent; |
133 | int index = 0; | 133 | int index = 0; |
134 | 134 | ||
135 | if (pevent_get_field_val(s, event, "ip", record, &function, 1)) | 135 | if (tep_get_field_val(s, event, "ip", record, &function, 1)) |
136 | return trace_seq_putc(s, '!'); | 136 | return trace_seq_putc(s, '!'); |
137 | 137 | ||
138 | func = pevent_find_function(pevent, function); | 138 | func = pevent_find_function(pevent, function); |
139 | 139 | ||
140 | if (pevent_get_field_val(s, event, "parent_ip", record, &pfunction, 1)) | 140 | if (tep_get_field_val(s, event, "parent_ip", record, &pfunction, 1)) |
141 | return trace_seq_putc(s, '!'); | 141 | return trace_seq_putc(s, '!'); |
142 | 142 | ||
143 | parent = pevent_find_function(pevent, pfunction); | 143 | parent = pevent_find_function(pevent, pfunction); |