Commit b62fdd97fcae17e483b005bafd13fadbd9840672
Committed by
Steven Rostedt
1 parent
3d1fc7b088
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
tracing/kprobes: Make print_*probe_event static
According to sparse warning, print_*probe_event static because those functions are not directly called from outside. Link: http://lkml.kernel.org/r/20130513115839.6545.83067.stgit@mhiramat-M0-7522 Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Tom Zanussi <tom.zanussi@intel.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
kernel/trace/trace_kprobe.c
... | ... | @@ -962,7 +962,7 @@ |
962 | 962 | } |
963 | 963 | |
964 | 964 | /* Event entry printers */ |
965 | -enum print_line_t | |
965 | +static enum print_line_t | |
966 | 966 | print_kprobe_event(struct trace_iterator *iter, int flags, |
967 | 967 | struct trace_event *event) |
968 | 968 | { |
... | ... | @@ -998,7 +998,7 @@ |
998 | 998 | return TRACE_TYPE_PARTIAL_LINE; |
999 | 999 | } |
1000 | 1000 | |
1001 | -enum print_line_t | |
1001 | +static enum print_line_t | |
1002 | 1002 | print_kretprobe_event(struct trace_iterator *iter, int flags, |
1003 | 1003 | struct trace_event *event) |
1004 | 1004 | { |