aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-02-28 22:22:58 +0000
committerNamhyung Kim <[email protected]>2025-03-12 01:55:37 +0000
commitbda840191d2aae3b7cadc3ac21835dcf29487191 (patch)
treeecb6be338773d03c173bdcfe2d3a690e4adff6f0 /tools/perf/util/python.c
parentperf symbol: Support .gnu_debugdata for symbols (diff)
downloadkernel-bda840191d2aae3b7cadc3ac21835dcf29487191.tar.gz
kernel-bda840191d2aae3b7cadc3ac21835dcf29487191.zip
perf debug: Avoid stack overflow in recursive error message
In debug_file, pr_warning_once is called on error. As that function calls debug_file the function will yield a stack overflow. Switch the location of the call so the recursion is avoided. Reviewed-by: Howard Chu <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Reviewed-by: Arnaldo Carvalho de Melo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: ec49230cf6dda704 ("perf debug: Expose debug file") Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions