diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-04-04 10:04:26 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-04-20 22:06:40 -0400 |
commit | 02b77e2afb492420cabb117f3bbd7452d4b4ed06 (patch) | |
tree | 2079158a5be73952970c7832f7dffe5b730e334a /kernel | |
parent | 78f78e07d51e440d01e6b1aef172883821193771 (diff) | |
download | op-kernel-dev-02b77e2afb492420cabb117f3bbd7452d4b4ed06.zip op-kernel-dev-02b77e2afb492420cabb117f3bbd7452d4b4ed06.tar.gz |
ftrace: Remove printing of data in showing of a function probe
None of the probe users uses the data field anymore of the entry. They all
have their own print() function. Remove showing the data field in the
generic function as the data field will be going away.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/ftrace.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 1c31c74..15f910a 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -3154,11 +3154,7 @@ t_hash_show(struct seq_file *m, struct ftrace_iterator *iter) if (rec->ops->print) return rec->ops->print(m, rec->ip, rec->ops, rec->data); - seq_printf(m, "%ps:%ps", (void *)rec->ip, (void *)rec->ops->func); - - if (rec->data) - seq_printf(m, ":%p", rec->data); - seq_putc(m, '\n'); + seq_printf(m, "%ps:%ps\n", (void *)rec->ip, (void *)rec->ops->func); return 0; } |