]> asedeno.scripts.mit.edu Git - linux.git/commit
tools lib traceevent, perf tools: Move struct tep_handler definition in a local heade...
authorTzvetomir Stoyanov <tstoyanov@vmware.com>
Fri, 5 Oct 2018 16:22:25 +0000 (12:22 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 8 Oct 2018 18:05:37 +0000 (15:05 -0300)
commitbb3dd7e7c4d5e024d607c0ec06c2a2fb9408cc99
treed2970356440791f3cd1ecaf8150e5b7786fa0e01
parentbbbab191c2c474d183e93799d008b412e97f5936
tools lib traceevent, perf tools: Move struct tep_handler definition in a local header file

As traceevent is going to be transferred into a proper library,
its local data should be protected from the library users.
This patch encapsulates struct tep_handler into a local header,
not visible outside of the library. It implements also a bunch
of new APIs, which library users can use to access tep_handler members.

Signed-off-by: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: linux trace devel <linux-trace-devel@vger.kernel.org>
Cc: tzvetomir stoyanov <tstoyanov@vmware.com>
Link: http://lkml.kernel.org/r/20181005122225.522155df@gandalf.local.home
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/Build
tools/lib/traceevent/event-parse-api.c [new file with mode: 0644]
tools/lib/traceevent/event-parse-local.h [new file with mode: 0644]
tools/lib/traceevent/event-parse.c
tools/lib/traceevent/event-parse.h
tools/lib/traceevent/event-plugin.c
tools/lib/traceevent/parse-filter.c
tools/perf/util/trace-event-parse.c
tools/perf/util/trace-event-read.c