diff options
author | Steven Rostedt (VMware) <[email protected]> | 2018-01-11 19:47:46 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-17 10:22:08 -0300 |
commit | 37db96bb49629681cb839d7304a70524fe10f969 (patch) | |
tree | 3eae8bf095d1c639f9a8d91d35c15293f6cda6de /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 38d70b7ca1769f26c0b79f3c08ff2cc949712b59 (diff) |
tools lib traceevent: Handle new pointer processing of bprint strings
The Linux kernel printf() has some extended use cases that dereference
the pointer. This is dangerouse for tracing because the pointer that is
dereferenced can change or even be unmapped. It also causes issues when
the trace data is extracted, because user space does not have access to
the contents of the pointer even if it still exists.
To handle this, the kernel was updated to process these dereferenced
pointers at the time they are recorded, and not post processed. Now they
exist in the tracing buffer, and no dereference is needed at the time of
reading the trace.
The event parsing library needs to handle this new case.
Signed-off-by: Steven Rostedt <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions