aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2015-03-11 22:13:57 -0500
committerSteven Rostedt <rostedt@goodmis.org>2015-07-13 11:58:12 -0400
commit953765d876f50521279a8e13ad997dafecafdaf0 (patch)
tree2cdb920976a0491c1d342994782f9ddfecb28bb5
parent136c1980b5189239a3e9329bbe07486f1e7f7a5c (diff)
downloadtrace-cmd-953765d876f50521279a8e13ad997dafecafdaf0.tar.gz
tracing: %pF is only for function pointers
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Link: http://lkml.kernel.org/r/1426130037-17956-22-git-send-email-scottwood@freescale.com Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--event-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event-parse.c b/event-parse.c
index 620006ce..cc25f059 100644
--- a/event-parse.c
+++ b/event-parse.c
@@ -4086,7 +4086,7 @@ static struct print_arg *make_bprint_args(char *fmt, void *data, int size, struc
if (asprintf(&arg->atom.atom, "%lld", ip) < 0)
goto out_free;
- /* skip the first "%pf: " */
+ /* skip the first "%ps: " */
for (ptr = fmt + 5, bptr = data + field->offset;
bptr < data + size && *ptr; ptr++) {
int ls = 0;