diff options
author | Tzvetomir Stoyanov <tstoyanov@vmware.com> | 2018-10-05 12:22:25 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-10-08 15:05:37 -0300 |
commit | bb3dd7e7c4d5e024d607c0ec06c2a2fb9408cc99 (patch) | |
tree | d2970356440791f3cd1ecaf8150e5b7786fa0e01 /tools/lib/traceevent/parse-filter.c | |
parent | bbbab191c2c474d183e93799d008b412e97f5936 (diff) | |
download | linux-stable-bb3dd7e7c4d5e024d607c0ec06c2a2fb9408cc99.tar.gz linux-stable-bb3dd7e7c4d5e024d607c0ec06c2a2fb9408cc99.tar.bz2 linux-stable-bb3dd7e7c4d5e024d607c0ec06c2a2fb9408cc99.zip |
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>
Diffstat (limited to 'tools/lib/traceevent/parse-filter.c')
-rw-r--r-- | tools/lib/traceevent/parse-filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/traceevent/parse-filter.c b/tools/lib/traceevent/parse-filter.c index d64b6128fa7d..ed87cb56713d 100644 --- a/tools/lib/traceevent/parse-filter.c +++ b/tools/lib/traceevent/parse-filter.c @@ -11,6 +11,7 @@ #include <sys/types.h> #include "event-parse.h" +#include "event-parse-local.h" #include "event-utils.h" #define COMM "COMM" |