tools lib traceevent: Add flags NOHANDLE and PRINTRAW to individual events
authorSteven Rostedt <srostedt@redhat.com>
Fri, 1 Nov 2013 21:53:59 +0000 (17:53 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Nov 2013 17:36:27 +0000 (14:36 -0300)
commitc6c2b960b7a4105f096499fba3df65d6c0272a20
tree4279f6e6c15b76347e65ec74f0349cadf0df3121
parent5efb9fbd5f1bfe4435bd0a3ea5f0e187875509c2
tools lib traceevent: Add flags NOHANDLE and PRINTRAW to individual events

Add the flags EVENT_FL_NOHANDLE and EVENT_FL_PRINTRAW to the event flags
to have the event either ignore the register handler or to ignore the
handler and also print the raw format respectively.

This allows a tool to force a raw format or non handle for an event.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20131101215501.655258742@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c
tools/lib/traceevent/event-parse.h