summaryrefslogtreecommitdiffstats
path: root/samples/kprobes
diff options
context:
space:
mode:
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>2021-04-12 16:52:15 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-23 01:38:03 +1000
commitdae4ff8031b49af4721101d6298fc14cb9c16a4c (patch)
tree81f0fff0cb50f8a09dc89768c3abfee2685e01a5 /samples/kprobes
parent421a7483878cf3f356ebb871effe81997a45dda7 (diff)
downloadlinux-dae4ff8031b49af4721101d6298fc14cb9c16a4c.tar.bz2
powerpc/selftests/ptrace-hwbreak: Add testcases for 2nd DAWR
Message-ID: <20210412112218.128183-2-ravi.bangoria@linux.ibm.com> (raw) Add selftests to test multiple active DAWRs with ptrace interface. Sample o/p: $ ./ptrace-hwbreak ... PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DW ALIGNED, WO, len: 6: Ok PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DW UNALIGNED, RO, len: 6: Ok PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DAWR Overlap, WO, len: 6: Ok PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DAWR Overlap, RO, len: 6: Ok Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com> Reviewed-by: Daniel Axtens <dja@axtens.net> [mpe: Fix build on older distros] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'samples/kprobes')
0 files changed, 0 insertions, 0 deletions