commit | 0c07def77a2d1e8868520c80d7c298b1f0bd3d50 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Dec 28 18:02:26 2017 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Dec 28 18:02:26 2017 -0500 |
tree | 0e5ca7d5303e98c10ce8c0e93276db67f535c802 | |
parent | ad5458a1cd016f7915cd106ad7e4617c775ea42c [diff] |
pevent: 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 (VMware) <rostedt@goodmis.org>