hw-breakpoints: sample HW breakpoint over kernel data address
authorK.Prasad <prasad@linux.vnet.ibm.com>
Mon, 1 Jun 2009 18:16:20 +0000 (23:46 +0530)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 2 Jun 2009 20:47:00 +0000 (22:47 +0200)
commit432039933a16b8227b7b267f46ac1c1b9b3adf14
tree9ca2b6af261a968e2c1cccaeb0a9c89b1cb701a0
parent17f557e5b5d43a2af66c969f6560ac7105020672
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>
samples/Kconfig
samples/Makefile
samples/hw_breakpoint/Makefile [new file with mode: 0644]
samples/hw_breakpoint/data_breakpoint.c [new file with mode: 0644]