Messages in this thread | | | Date | Mon, 12 Dec 2011 11:36:11 +0530 | From | "K.Prasad" <> | Subject | Re: [PATCH 2/2] selftests: New x86 breakpoints selftest |
| |
On Fri, Dec 02, 2011 at 04:41:15PM +0100, Frederic Weisbecker wrote: > Bring a first selftest in the relevant directory. This tests > several combinations of breakpoints and watchpoints in x86, as > well as icebp traps and int3 traps. Given the amount of breakpoint > regressions we raised after we merged the generic breakpoint > infrastructure, such selftest became necessary and can still serve > today as a basis for new patches that touch the do_debug() path. >
Hi Frederic, Can we also including testing of watchpoints over kernel variables? We could do this using the perf syscall or (in a convoluted way) use a kernel module that works in tandem with this user-space testcase.
Thanks, K.Prasad
| |