Skip to content

tracing: a few simplifying patches

Rasmus Villemoes lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing: merge seq_print_sym_short() and seq_print_sym_offset()kernel/trace/trace_output.c+7 -271 reply
1/3tracing: merge seq_print_sym_short() and seq_print_sym_offset()kernel/trace/trace_output.c+7 -270 replies
2/3tracing: avoid -Wformat-nonliteral warningkernel/trace/trace_output.c+4 -50 replies
2/3tracing: avoid -Wformat-nonliteral warningkernel/trace/trace_output.c+4 -50 replies
3/3tracing: simplify printf'ing in seq_print_symkernel/trace/trace_output.c+3 -40 replies
3/3tracing: simplify printf'ing in seq_print_symkernel/trace/trace_output.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] tracing: a few simplifying patches

Playing around with -Wformat-nonliteral, I stumbled on two instances in trace_output.c. Looking at the code a bit, turns out one can remove the use of the non-constant format string and eliminate some code duplication at the same time.

v2: Include cover letter, rename argument with_offset -> offset.

Rasmus Villemoes (3):
tracing: merge seq_print_sym_short() and seq_print_sym_offset()
tracing: avoid -Wformat-nonliteral warning
tracing: simplify printf'ing in seq_print_sym

 kernel/trace/trace_output.c | 38 ++++++++-----------------------------
 1 file changed, 8 insertions(+), 30 deletions(-)
Signature · 1 line
2.19.1.6.gbde171bbf5