aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/event-parse.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-12-03 08:09:19 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-12-04 13:18:42 -0500
commit71ad9583ff15d2e95cb8c67a5c963321d9d1877b (patch)
tree582815b8c1a7982cf7de691c98f8d98af2a3ed18 /tools/lib/traceevent/event-parse.h
parent91a058ad3856b0a37cb21250eb4c478d0297a1a3 (diff)
tools lib traceevent: Change pevent_parse_format to include pevent handle
Changing the pevent_parse_format interface to include the pevent handle. The goal is to always use pevent object when dealing with traceevent library. The reason is that we might need additional processing (like plugins), which is not possible otherwise. Patches follow to make this happen completely. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/1386076182-14484-6-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/traceevent/event-parse.h')
-rw-r--r--tools/lib/traceevent/event-parse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
index 54273c0ec544..620c27a72960 100644
--- a/tools/lib/traceevent/event-parse.h
+++ b/tools/lib/traceevent/event-parse.h
@@ -562,7 +562,9 @@ int pevent_parse_header_page(struct pevent *pevent, char *buf, unsigned long siz
562 562
563enum pevent_errno pevent_parse_event(struct pevent *pevent, const char *buf, 563enum pevent_errno pevent_parse_event(struct pevent *pevent, const char *buf,
564 unsigned long size, const char *sys); 564 unsigned long size, const char *sys);
565enum pevent_errno pevent_parse_format(struct event_format **eventp, const char *buf, 565enum pevent_errno pevent_parse_format(struct pevent *pevent,
566 struct event_format **eventp,
567 const char *buf,
566 unsigned long size, const char *sys); 568 unsigned long size, const char *sys);
567void pevent_free_format(struct event_format *event); 569void pevent_free_format(struct event_format *event);
568 570