ftrace: Remove printing of data in showing of a function probe
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 4 Apr 2017 14:04:26 +0000 (10:04 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:40 +0000 (22:06 -0400)
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>
kernel/trace/ftrace.c

index 1c31c74d0819e550f2fad31a76b677f62f0c472f..15f910a0382276654b08ae139e63f8ca03c8e380 100644 (file)
@@ -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;
 }