aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-10-30 12:15:06 +0100
committerPeter Zijlstra <[email protected]>2020-11-09 18:12:35 +0100
commite506d1dac0edb2df82f2aa0582e814f9cd9aa07d (patch)
tree73b80f8166e06db89e768ca9e99729e8ec1d1139 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent76a4efa80900fc40e0fdf243b42aec9fb8c35d24 (diff)
perf/x86: Make dummy_iregs static
Having pt_regs on-stack is unfortunate, it's 168 bytes. Since it isn't actually used, make it a static variable. This both gets if off the stack and ensures it gets 0 initialized, just in case someone does look at it. Reported-by: Steven Rostedt <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions