linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] trace-cmd: Add gcc printf format specifier
@ 2021-04-22 21:07 Steven Rostedt
  2021-04-22 21:07 ` [PATCH 1/2] trace-cmd: Add printf format attribute to die() and warning() Steven Rostedt
  2021-04-22 21:07 ` [PATCH 2/2] trace-cmd: Fix up the die() formats Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2021-04-22 21:07 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Nicolas Sterchele, Steven Rostedt (VMware)

From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

To keep from having bad warning() or die() formats with repect to their
args, add the gcc printf format specifier that will have gcc check the
formatting of the strings used.

Steven Rostedt (VMware) (2):
  trace-cmd: Add printf format attribute to die() and warning()
  trace-cmd: Fix up the die() formats

 tracecmd/include/trace-local.h |  5 +++++
 tracecmd/trace-dump.c          | 14 +++++++-------
 tracecmd/trace-record.c        |  2 +-
 3 files changed, 13 insertions(+), 8 deletions(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-22 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 21:07 [PATCH 0/2] trace-cmd: Add gcc printf format specifier Steven Rostedt
2021-04-22 21:07 ` [PATCH 1/2] trace-cmd: Add printf format attribute to die() and warning() Steven Rostedt
2021-04-22 21:07 ` [PATCH 2/2] trace-cmd: Fix up the die() formats Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).