linux-loongson/tools/perf/arch/x86/tests
Namhyung Kim 22ec0faa0e perf test: Fix a build error in x86 topdown test
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: 5b546de9cc ("perf topdown: Use attribute to see an event is a topdown metic or slots")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-08-18 11:52:22 -07:00
..
amd-ibs-period.c perf test amd: Skip amd-ibs-period test on kernel < v6.15 2025-05-21 15:07:13 -03:00
amd-ibs-via-core-pmu.c perf tools changes and fixes for v6.5: 1st batch 2023-06-30 11:35:41 -07:00
arch-tests.c perf test: Move PERF_SAMPLE_WEIGHT_STRUCT parsing to common test 2025-07-25 10:37:58 -07:00
bp-modify.c perf test: Rename struct test to test_suite 2021-11-13 10:32:22 -03:00
Build perf test: Move PERF_SAMPLE_WEIGHT_STRUCT parsing to common test 2025-07-25 10:37:58 -07:00
dwarf-unwind.c perf sample: Make user_regs and intr_regs optional 2025-02-12 20:06:11 -08:00
gen-insn-x86-dat.awk treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
gen-insn-x86-dat.sh perf arch x86: Add shellcheck to build 2024-04-12 17:54:02 -03:00
hybrid.c perf parse-events: Print all errors 2024-02-02 13:08:05 -08:00
insn-x86-dat-32.c perf tests: Add APX and other new instructions to x86 instruction decoder test 2024-06-25 11:06:19 -07:00
insn-x86-dat-64.c perf tests: Add APX and other new instructions to x86 instruction decoder test 2024-06-25 11:06:19 -07:00
insn-x86-dat-src.c perf tests: Add APX and other new instructions to x86 instruction decoder test 2024-06-25 11:06:19 -07:00
insn-x86.c perf test x86: insn-x86 test data is immutable so mark it const 2023-05-28 10:21:13 -03:00
intel-pt-test.c perf test x86: Fix typo in intel-pt-test 2024-10-09 10:52:08 -07:00
regs_load.S perf bench: Update the copies of x86's mem{cpy,set}_64.S 2019-12-02 11:40:57 -03:00
topdown.c perf test: Fix a build error in x86 topdown test 2025-08-18 11:52:22 -07:00