There's an environment that caused the following build error. Include
"debug.h" (under util directory) to fix it.
arch/x86/tests/topdown.c: In function 'event_cb':
arch/x86/tests/topdown.c:53:25: error: implicit declaration of function 'pr_debug'
[-Werror=implicit-function-declaration]
53 | pr_debug("Broken topdown information for '%s'\n", evsel__name(evsel));
| ^~~~~~~~
cc1: all warnings being treated as errors
Link: https://lore.kernel.org/r/20250815164122.289651-1-namhyung@kernel.org
Fixes:
|
||
|---|---|---|
| .. | ||
| Build | ||
| amd-ibs-period.c | ||
| amd-ibs-via-core-pmu.c | ||
| arch-tests.c | ||
| bp-modify.c | ||
| dwarf-unwind.c | ||
| gen-insn-x86-dat.awk | ||
| gen-insn-x86-dat.sh | ||
| hybrid.c | ||
| insn-x86-dat-32.c | ||
| insn-x86-dat-64.c | ||
| insn-x86-dat-src.c | ||
| insn-x86.c | ||
| intel-pt-test.c | ||
| regs_load.S | ||
| topdown.c | ||