hw-breakpoints: sample HW breakpoint over kernel data address
This patch introduces a sample kernel module to demonstrate the use of Hardware Breakpoint feature. It places a breakpoint over the kernel variable 'pid_max' to monitor all write operations and emits a function-backtrace when done. Signed-off-by:K.Prasad <prasad@linux.vnet.ibm.com> Signed-off-by:
Frederic Weisbecker <fweisbec@gmail.com>
Showing
- samples/Kconfig 6 additions, 0 deletionssamples/Kconfig
- samples/Makefile 2 additions, 1 deletionsamples/Makefile
- samples/hw_breakpoint/Makefile 1 addition, 0 deletionssamples/hw_breakpoint/Makefile
- samples/hw_breakpoint/data_breakpoint.c 83 additions, 0 deletionssamples/hw_breakpoint/data_breakpoint.c
Loading
Please register or sign in to comment