aboutsummaryrefslogtreecommitdiffstats
path: root/samples/hw_breakpoint
Commit message (Collapse)AuthorAgeFilesLines
* hw-breakpoints: Fix broken hw-breakpoint sample moduleFrederic Weisbecker2009-11-101-19/+24
| | | | | | | | | The hw-breakpoint sample module has been broken during the hw-breakpoint internals refactoring. Propagate the changes to it. Reported-by: "K. Prasad" <prasad@linux.vnet.ibm.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
* hw-breakpoints: sample HW breakpoint over kernel data addressK.Prasad2009-06-022-0/+84
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>