]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd94fcd1ddec4afb770ff1930dccd1725845fb7c
tree22fadf53110bc0fe9e0fede28f8bdd8184601512
parentea1f5958f8e6b58905c2ecfdd5f2598bcc49ba14
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