aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-09-28 23:58:38 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-09-29 20:53:27 +0200
commit3d13b3f1f3a7cd33d1847a4b87c3198089b6c4a7 (patch)
tree9d71b82ac233cd4ac37ac16003867fc9a5049978 /scripts/Makefile.thinlto
parentperf python event_analyzing_sample: Default to in-memory SQLite database (diff)
perf python: Initialize debug output on module load
Unlike the perf binary's main(), PyInit_perf() does not call perf_debug_setup(). As a result, the first warning or error printed from the perf Python C extension hits debug_file() with _debug_file == NULL and emits 'debug_file not set' without a trailing newline before the actual diagnostic message. Call perf_debug_setup() in PyInit_perf() and add the missing trailing newline to the fallback warning in debug_file(). Fixes: ec49230cf6dda704 ("perf debug: Expose debug file") Assisted-by: Antigravity:gemini-3.1-pro Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions