diff options
| author | Frederic Weisbecker <[email protected]> | 2009-08-16 17:52:07 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-08-16 17:56:09 +0200 |
| commit | 0d31b82dd5c54a0b1e1d789427abdcc180bc4602 (patch) | |
| tree | 4d9aa084b8e1c0ca3138d5bc6638073a44564b93 /tools/perf/scripts/python | |
| parent | 35ba15b737e2cd1d780943189f2138519f81fd42 (diff) | |
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 <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Mike Galbraith <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions