aboutsummaryrefslogtreecommitdiffstats
path: root/samples/hw_breakpoint/data_breakpoint.c
Commit message (Collapse)AuthorAgeFilesLines
* hw-breakpoint: Attribute authorship of hw-breakpoint related filesK.Prasad2009-11-231-0/+2
| | | | | | | | | | | | Attribute authorship to developers of hw-breakpoint related files. Signed-off-by: K.Prasad <prasad@linux.vnet.ibm.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <20091123154713.GA5593@in.ibm.com> [ v2: moved it to latest -tip ] Signed-off-by: Ingo Molnar <mingo@elte.hu>
* 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-021-0/+83
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>