diff options
author | K.Prasad <prasad@linux.vnet.ibm.com> | 2009-06-01 20:16:20 +0200 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-06-02 22:47:00 +0200 |
commit | 432039933a16b8227b7b267f46ac1c1b9b3adf14 (patch) | |
tree | 9ca2b6af261a968e2c1cccaeb0a9c89b1cb701a0 /samples/hw_breakpoint/Makefile | |
parent | hw-breakpoints: cleanup HW Breakpoint registers before kexec (diff) | |
download | linux-432039933a16b8227b7b267f46ac1c1b9b3adf14.tar.xz linux-432039933a16b8227b7b267f46ac1c1b9b3adf14.zip |
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>
Diffstat (limited to 'samples/hw_breakpoint/Makefile')
-rw-r--r-- | samples/hw_breakpoint/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/hw_breakpoint/Makefile b/samples/hw_breakpoint/Makefile new file mode 100644 index 000000000000..0f5c31c2fc47 --- /dev/null +++ b/samples/hw_breakpoint/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += data_breakpoint.o |