WSL2-Linux-Kernel/tools/perf
Frederic Weisbecker 0d31b82dd5 perf tools: Substract -Wformat-nonliteral from Wformat=2 in extra flags
The soon coming perf trace needs to use printf with dynamically
built formats.

But we are using -Wformat=2 which is a shortcut for the
following set: -Wformat -Wformat-security -Wformat-y2k
-Wformat-nonliteral

-Wformat-nonliteral warns when it can't check formats because
they are not builtin constant strings, but we want to feature
dynamic formats. What we want instead is Wformat=2 minus
-Wformat-nonliteral, which is what this patch does.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1250437927-25490-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-08-16 17:56:09 +02:00
..
Documentation perf report: Fix and improve the displaying of per-thread event counters 2009-08-09 13:04:20 +02:00
util perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
.gitignore perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/ 2009-06-06 20:33:43 +02:00
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
Makefile perf tools: Substract -Wformat-nonliteral from Wformat=2 in extra flags 2009-08-16 17:56:09 +02:00
builtin-annotate.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
builtin-help.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
builtin-list.c perf list: Fix large list output by using the pager 2009-08-13 09:05:48 +02:00
builtin-record.c Merge branch 'perfcounters/urgent' into perfcounters/core 2009-08-15 12:06:12 +02:00
builtin-report.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
builtin-stat.c perf tools: Factorize high level dso helpers 2009-08-12 12:02:38 +02:00
builtin-top.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
builtin.h perf tools: Factorize high level dso helpers 2009-08-12 12:02:38 +02:00
command-list.txt perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/ 2009-06-06 20:33:43 +02:00
design.txt perf_counter: Start documenting HAVE_PERF_COUNTERS requirements 2009-06-12 19:37:30 +02:00
perf.c perf_counter: Detect debugfs location 2009-07-22 18:05:57 +02:00
perf.h perf tools: Factorize high level dso helpers 2009-08-12 12:02:38 +02:00