summaryrefslogtreecommitdiff
path: root/tools/lib/traceevent/plugin_function.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-11-08 20:32:24 +0300
committerTony Lindgren <tony@atomide.com>2018-11-08 20:32:24 +0300
commit91e43395820baad80248987608216c35da9df65b (patch)
tree29d41d1a036eb1abd6a60f16ad37aa578acd8159 /tools/lib/traceevent/plugin_function.c
parenteef3dc34a1e0b01d53328b88c25237bcc7323777 (diff)
parentcec83ff1241ec98113a19385ea9e9cfa9aa4125b (diff)
downloadlinux-91e43395820baad80248987608216c35da9df65b.tar.xz
Merge branch 'fixes-dts' into omap-for-v4.20/fixes
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
-rw-r--r--tools/lib/traceevent/plugin_function.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/traceevent/plugin_function.c b/tools/lib/traceevent/plugin_function.c
index 424747475d37..528acc75d81a 100644
--- a/tools/lib/traceevent/plugin_function.c
+++ b/tools/lib/traceevent/plugin_function.c
@@ -23,6 +23,7 @@
#include "event-parse.h"
#include "event-utils.h"
+#include "trace-seq.h"
static struct func_stack {
int size;
@@ -123,7 +124,7 @@ static int add_and_get_index(const char *parent, const char *child, int cpu)
}
static int function_handler(struct trace_seq *s, struct tep_record *record,
- struct event_format *event, void *context)
+ struct tep_event_format *event, void *context)
{
struct tep_handle *pevent = event->pevent;
unsigned long long function;