diff options
author | Steven Rostedt (VMware) <[email protected]> | 2018-01-11 19:47:45 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-17 10:22:03 -0300 |
commit | 38d70b7ca1769f26c0b79f3c08ff2cc949712b59 (patch) | |
tree | 9399da6650219182747b8c8309183a5ecf19effa /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | d63444739bee6acfa9a834515da17f9cec544505 (diff) |
tools lib traceevent: Simplify pointer print logic and fix %pF
When processing %pX in pretty_print(), simplify the logic slightly by
incrementing the ptr to the format string if isalnum(ptr[1]) is true.
This follows the logic a bit more closely to what is in the kernel.
Also, this fixes a small bug where %pF was not giving the offset of the
function.
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