mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-10 11:54:20 -05:00
This tests perf hardware breakpoints (ie PERF_TYPE_BREAKPOINT) on powerpc. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
20 lines
569 B
Makefile
20 lines
569 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
TEST_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
|
|
ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \
|
|
ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey core-pkey \
|
|
perf-hwbreak
|
|
|
|
include ../../lib.mk
|
|
|
|
all: $(TEST_PROGS)
|
|
|
|
CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
|
|
|
|
ptrace-pkey core-pkey: child.h
|
|
ptrace-pkey core-pkey: LDLIBS += -pthread
|
|
|
|
$(TEST_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h
|
|
|
|
clean:
|
|
rm -f $(TEST_PROGS) *.o
|