tools lib traceevent: Handle trace_printk() "%px"
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 1 Apr 2019 16:43:06 +0000 (12:43 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Apr 2019 18:18:08 +0000 (15:18 -0300)
commit328b82b7497787cf4e4856a216dbf4e8a54c06a6
treec09a9d98b696dd83f97723d485f799612a7ab529
parent5e0861baa3fa73e8bd861a4b7ba7fa992b1dff82
tools lib traceevent: Handle trace_printk() "%px"

With security updates, %p in the kernel is hashed to protect true kernel
locations. But trace_printk() is not allowed in production systems, and
when a pointer is used, there are many times that the actual address is
needed. "%px" produces the real address. But libtraceevent does not know how
to handle that extension. Add it.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Link: http://lkml.kernel.org/r/20190401164342.837312153@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c