[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181029223542.26175-1-linux@rasmusvillemoes.dk>
Date: Mon, 29 Oct 2018 23:35:39 +0100
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...hat.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: [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(-)
--
2.19.1.6.gbde171bbf5
Powered by blists - more mailing lists