summaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/event-parse.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-02 23:20:13 -0400
committerJiri Olsa <jolsa@kernel.org>2014-06-07 23:33:36 +0200
commita7c3196c79051f9e1a498f5be8fe6870bde5e55d (patch)
treef20cea545ac8f7faa6bcd9d3c60e0c13437bb35f /tools/lib/traceevent/event-parse.h
parent82b897782d10fcc4930c9d4a15b175348fdd2871 (diff)
downloadlinux-a7c3196c79051f9e1a498f5be8fe6870bde5e55d.tar.gz
linux-a7c3196c79051f9e1a498f5be8fe6870bde5e55d.tar.bz2
linux-a7c3196c79051f9e1a498f5be8fe6870bde5e55d.zip
tools lib traceevent: Add flag to not load event plugins
Add a flag to pevent that will let the callers be able to set it and keep the system, and perhaps even normal plugins from being loaded. This is useful when plugins might hide certain information and seeing the raw events shows what may be going on. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/20140603032223.678098063@goodmis.org Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/lib/traceevent/event-parse.h')
-rw-r--r--tools/lib/traceevent/event-parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
index feab94281634..a68ec3d8289f 100644
--- a/tools/lib/traceevent/event-parse.h
+++ b/tools/lib/traceevent/event-parse.h
@@ -354,6 +354,8 @@ enum pevent_func_arg_type {
enum pevent_flag {
PEVENT_NSEC_OUTPUT = 1, /* output in NSECS */
+ PEVENT_DISABLE_SYS_PLUGINS = 1 << 1,
+ PEVENT_DISABLE_PLUGINS = 1 << 2,
};
#define PEVENT_ERRORS \