summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_output.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-09-28 10:11:44 -0400
committerSteven Rostedt <rostedt@goodmis.org>2015-09-28 10:11:44 -0400
commit6b1032d53cdbda39ad56c8692bac17a66475b57d (patch)
tree3e5524913fdcdbbe49e62a3dd581842e60483c89 /kernel/trace/trace_output.h
parentca475e831fd59e131bccd60de43c4104d82d02f5 (diff)
downloadlwn-6b1032d53cdbda39ad56c8692bac17a66475b57d.tar.gz
lwn-6b1032d53cdbda39ad56c8692bac17a66475b57d.zip
tracing: Inject seq_print_userip_objs() into its only user
seq_print_userip_objs() is used only in one location, in one file. Instead of having it as an external function, go one further than making it static, but inject is code into its only user. It doesn't make the calling function much more complex. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_output.h')
-rw-r--r--kernel/trace/trace_output.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/trace/trace_output.h b/kernel/trace/trace_output.h
index 4cbfe85b99c8..b774c06cf423 100644
--- a/kernel/trace/trace_output.h
+++ b/kernel/trace/trace_output.h
@@ -14,8 +14,6 @@ trace_print_printk_msg_only(struct trace_iterator *iter);
extern int
seq_print_ip_sym(struct trace_seq *s, unsigned long ip,
unsigned long sym_flags);
-extern int seq_print_userip_objs(const struct userstack_entry *entry,
- struct trace_seq *s, unsigned long sym_flags);
extern int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm,
unsigned long ip, unsigned long sym_flags);