aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-10-28 11:01:26 -0700
committerArnaldo Carvalho de Melo <[email protected]>2022-10-31 11:07:34 -0300
commit0a277b6226703812ba90543d5bb49476e03f816e (patch)
tree074dc408b8dda7e9786a97b9536e3a9ddb92c44c /lib/debugobjects.c
parent005ef2b41b119caf65ac611109ce7ae68d857b46 (diff)
perf lock contention: Check --max-stack option
The --max-stack option is used to allocate the BPF stack map and stack trace array in the userspace. Check the value properly before using. Practically it cannot be greater than the sysctl_perf_event_max_stack. Signed-off-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions