Skip to content

Commit 02b77e2

Browse files
committed
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>
1 parent 78f78e0 commit 02b77e2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎kernel/trace/ftrace.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3154,11 +3154,7 @@ t_hash_show(struct seq_file *m, struct ftrace_iterator *iter)
31543154
if (rec->ops->print)
31553155
return rec->ops->print(m, rec->ip, rec->ops, rec->data);
31563156

3157-
seq_printf(m, "%ps:%ps", (void *)rec->ip, (void *)rec->ops->func);
3158-
3159-
if (rec->data)
3160-
seq_printf(m, ":%p", rec->data);
3161-
seq_putc(m, '\n');
3157+
seq_printf(m, "%ps:%ps\n", (void *)rec->ip, (void *)rec->ops->func);
31623158

31633159
return 0;
31643160
}

0 commit comments

Comments
 (0)