summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-07-21 16:52:50 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-08-07 09:43:36 -0700
commite46a9b8150c9cd7a41ae963389901a85ec40bea8 (patch)
tree2ef0fb2cc403cbade409ae61d4de7a75cf02766c /scripts/stackusage
parent43a163494ff7aee0c8add586e54db4f1d706bf4e (diff)
downloadlinux-e46a9b8150c9cd7a41ae963389901a85ec40bea8.tar.gz
linux-e46a9b8150c9cd7a41ae963389901a85ec40bea8.zip
perf find-map: Remove PATH_MAX 128-byte stack array restriction
Use getline() to dynamically allocate the required line buffer for maps parsing, guaranteeing bounds safety and avoiding compiler warnings by evaluating the return value in the loop condition directly. Assisted-by: Antigravity:gemini-3.5-flash Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions