aboutsummaryrefslogtreecommitdiffstats
path: root/samples/Makefile
diff options
context:
space:
mode:
authorK.Prasad <prasad@linux.vnet.ibm.com>2009-06-01 23:46:20 +0530
committerFrederic Weisbecker <fweisbec@gmail.com>2009-06-02 22:47:00 +0200
commit432039933a16b8227b7b267f46ac1c1b9b3adf14 (patch)
tree9ca2b6af261a968e2c1cccaeb0a9c89b1cb701a0 /samples/Makefile
parent17f557e5b5d43a2af66c969f6560ac7105020672 (diff)
downloadkernel_samsung_tuna-432039933a16b8227b7b267f46ac1c1b9b3adf14.zip
kernel_samsung_tuna-432039933a16b8227b7b267f46ac1c1b9b3adf14.tar.gz
kernel_samsung_tuna-432039933a16b8227b7b267f46ac1c1b9b3adf14.tar.bz2
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/Makefile')
-rw-r--r--samples/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/Makefile b/samples/Makefile
index 13e4b47..42e1755 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -1,3 +1,4 @@
# Makefile for Linux samples code
-obj-$(CONFIG_SAMPLES) += markers/ kobject/ kprobes/ tracepoints/ trace_events/
+obj-$(CONFIG_SAMPLES) += markers/ kobject/ kprobes/ tracepoints/ \
+ trace_events/ hw_breakpoint/