aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2018-10-29 23:35:41 +0100
committerSteven Rostedt (VMware) <[email protected]>2018-12-22 08:21:06 -0500
commitcc9f59fb3bc455984404dbab8be16f156a47d023 (patch)
tree53cfaf53f783876ac9d8321db61233f0ec034706 /tools/perf/scripts/python/export-to-sqlite.py
parent59dd974bc079079c23b5429cba841696fa7fae41 (diff)
tracing: Avoid -Wformat-nonliteral warning
Building with -Wformat-nonliteral, gcc complains kernel/trace/trace_output.c: In function ‘seq_print_sym’: kernel/trace/trace_output.c:356:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] trace_seq_printf(s, fmt, name); But seq_print_sym only has a single caller which passes "%s" as fmt, so we might as well just use that directly. That also paves the way for further cleanups that will actually make that format string go away entirely. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions