aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2025-04-04 22:10:02 +0000
committerPetr Mladek <[email protected]>2025-04-10 14:08:28 +0000
commit7efa84b5cdd6d473c7e80912638fca9d7167f202 (patch)
treecca8c685f56e5f2702c85db8e7b7e324ce167727 /tools/perf/util/scripting-engines/trace-event-python.c
parentvsnprintf: Silence false positive GCC warning for va_format() (diff)
downloadkernel-7efa84b5cdd6d473c7e80912638fca9d7167f202.tar.gz
kernel-7efa84b5cdd6d473c7e80912638fca9d7167f202.zip
compiler-gcc.h: Introduce __diag_GCC_all
It is not possible disabling a diagnostic for all versions of GCC without hard coding the minimum supported version at the site, as the GCC specific macros require a minimum version to disable the warning for: __diag_ignore(GCC, 5, ...); __diag_ignore_all() does not solve this issue because it disables a diagnostic for all versions of both GCC and clang, not just one or the other. Introduce __diag_GCC_all so that developers can write __diag_ignore(GCC, all, ...); to disable a particular diagnostic for all versions of GCC, while not affecting clang. Closes: https://lore.kernel.org/r/CAHk-=wgfX9nBGE0Ap9GjhOy7Mn=RSy=rx0MvqfYFFDx31KJXqQ@mail.gmail.com Signed-off-by: Nathan Chancellor <[email protected]> Tested-by: Andy Shevchenko <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Link: https://patch.msgid.link/20250404-vsprintf-convert-pragmas-to-__diag-v1-1-5d6c5c55b2bd@kernel.org Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions