aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines
diff options
context:
space:
mode:
authorYu Liao <[email protected]>2023-08-23 10:00:51 +0800
committerSteven Rostedt (Google) <[email protected]>2023-09-01 21:00:00 -0400
commit0e19543b7b0cbc47fd9cac01cd7738f14f381c70 (patch)
tree68d80e0d59f5f505564ab46298ed141bfe09c7a0 /tools/perf/util/scripting-engines
parent34232fcfe9a383bea802af682baae5c99f22376c (diff)
rv: Set variable 'da_mon_##name' to static
gcc with W=1 reports kernel/trace/rv/monitors/wip/wip.c:20:1: sparse: sparse: symbol 'da_mon_wip' was not declared. Should it be static? The per-cpu variable 'da_mon_##name' is only used in its defining file, so it should be static. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Yu Liao <[email protected]> Acked-by: Daniel Bristot de Oliveira <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions