summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-07-17 08:08:55 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-07-22 18:17:53 -0700
commit008b75759eb98fa6ee83eae8e9e19722121de633 (patch)
tree2e980e3d0d53c7c1288e18b58017ff8a5f046318 /scripts/gdb/linux/xarray.py
parent82aac553372cd201b91a8b064be0cd5a501932b2 (diff)
perf ui scripts: Switch FILENAME_MAX to NAME_MAX
FILENAME_MAX is the same as PATH_MAX (4kb) in glibc rather than NAME_MAX's 255. Switch to using NAME_MAX and ensure the '\0' is accounted for in the path's buffer size. Signed-off-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250717150855.1032526-3-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions