OSDN Git Service

tracing: Merge seq_print_sym_short() and seq_print_sym_offset()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Mon, 29 Oct 2018 22:35:40 +0000 (23:35 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 22 Dec 2018 13:21:05 +0000 (08:21 -0500)
commit59dd974bc079079c23b5429cba841696fa7fae41
tree22fadf53110bc0fe9e0fede28f8bdd8184601512
parent05ddb25cb31491b0901d057c40ad50d01b3db783
tracing: Merge seq_print_sym_short() and seq_print_sym_offset()

These two functions are nearly identical, so we can avoid some code
duplication by moving the conditional into a common implementation.

Link: http://lkml.kernel.org/r/20181029223542.26175-2-linux@rasmusvillemoes.dk
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_output.c