aboutsummaryrefslogtreecommitdiff
path: root/samples/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2009-10-18Merge commit 'perf/core' into perf/hw-breakpointFrederic Weisbecker1-2/+2
Conflicts: kernel/Makefile kernel/trace/Makefile kernel/trace/trace.h samples/Makefile Merge reason: We need to be uptodate with the perf events development branch because we plan to rewrite the breakpoints API on top of perf events.
2009-09-18tracing: Remove markersChristoph Hellwig1-1/+1
Now that the last users of markers have migrated to the event tracer we can kill off the (now orphan) support code. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Mathieu Desnoyers <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2009-06-02hw-breakpoints: sample HW breakpoint over kernel data addressK.Prasad1-1/+2
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 <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
2009-04-14tracing/events: add trace-events-sampleSteven Rostedt1-1/+1
This patch adds a sample to the samples directory on how to create and use TRACE_EVENT trace points. Signed-off-by: Steven Rostedt <[email protected]>
2008-10-14tracing: tracepoints, samplesMathieu Desnoyers1-1/+1
Tracepoint example code under samples/. Signed-off-by: Mathieu Desnoyers <[email protected]> Acked-by: 'Peter Zijlstra' <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2008-03-04Kprobes: move kprobe examples to samples/Ananth N Mavinakayanahalli1-1/+1
Move kprobes examples from Documentation/kprobes.txt to under samples/. Patch originally by Randy Dunlap. o Updated the patch to apply on 2.6.25-rc3 o Modified examples code to build on multiple architectures. Currently, the kprobe and jprobe examples code works for x86 and powerpc o Cleaned up unneeded #includes o Cleaned up Kconfig per Sam Ravnborg's suggestions to fix build break on archs that don't have kretprobes o Implemented suggestions by Mathieu Desnoyers on CONFIG_KRETPROBES o Included Andrew Morton's cleanup based on x86-git o Modified kretprobe_example to act as a arch-agnostic module to determine routine execution times: Use 'modprobe kretprobe_example func=<func_name>' to determine execution time of func_name in nanoseconds. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Ananth N Mavinakayanahalli <[email protected]> Acked-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-01-24kobject: add sample code for how to use kobjects in a simple manner.Greg Kroah-Hartman1-1/+1
This is a simple kobject module, showing how to use kobj_attributes in basic and more complex ways. Cc: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2007-10-19Linux Kernel Markers - SamplesMathieu Desnoyers1-0/+3
Module example showing how to use the Linux Kernel Markers. [[email protected]: coding-style fixes] Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>