1
linux/tools/perf/Documentation
Masami Hiramatsu 14a8fd7cee perf probe: Support adding probes on offline kernel modules
Support adding probes on offline kernel modules. This enables
perf-probe to trace kernel-module init functions via perf-probe.
If user gives the path of module with -m option, perf-probe
expects the module is offline.
This feature works with --add, --funcs, and --vars.

E.g)
 # perf probe -m /lib/modules/`uname -r`/kernel/fs/btrfs/btrfs.ko \
   -a "extent_io_init:5 extent_state_cache"
 Add new events:
   probe:extent_io_init (on extent_io_init:5 with extent_state_cache)
   probe:extent_io_init_1 (on extent_io_init:5 with extent_state_cache)

 You can now use it on all perf tools, such as:

         perf record -e probe:extent_io_init_1 -aR sleep 1

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Link: http://lkml.kernel.org/r/20110627072751.6528.10230.stgit@fedora15
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2011-07-15 16:25:12 -04:00
..
asciidoc.conf
examples.txt
Makefile perf tools: Update Makefile with some help 2011-02-16 14:47:56 -02:00
manpage-1.72.xsl
manpage-base.xsl
manpage-bold-literal.xsl
manpage-normal.xsl
manpage-suppress-sp.xsl
perf-annotate.txt perf report/annotate/script: Add option to specify a CPU range 2011-07-05 10:44:44 +02:00
perf-archive.txt
perf-bench.txt
perf-buildid-cache.txt
perf-buildid-list.txt
perf-diff.txt perf symbols: Add symfs option for off-box analysis using specified tree 2010-12-21 20:17:51 -02:00
perf-evlist.txt perf evlist: New command to list the names of events present in a perf.data file 2011-03-15 11:10:48 -03:00
perf-help.txt
perf-inject.txt
perf-kmem.txt
perf-kvm.txt
perf-list.txt perf list: Allow filtering list of events 2011-02-17 15:38:58 -02:00
perf-lock.txt perf lock: Document valid sort keys 2011-02-23 07:29:33 -03:00
perf-probe.txt perf probe: Support adding probes on offline kernel modules 2011-07-15 16:25:12 -04:00
perf-record.txt perf tool: Add cgroup support 2011-02-16 13:30:48 +01:00
perf-report.txt perf report/annotate/script: Add option to specify a CPU range 2011-07-05 10:44:44 +02:00
perf-sched.txt
perf-script-perl.txt sched: Get rid of lock_depth 2011-04-24 13:18:38 +02:00
perf-script-python.txt sched: Get rid of lock_depth 2011-04-24 13:18:38 +02:00
perf-script.txt perf report/annotate/script: Add option to specify a CPU range 2011-07-05 10:44:44 +02:00
perf-stat.txt perf tool: Add cgroup support 2011-02-16 13:30:48 +01:00
perf-test.txt
perf-timechart.txt perf symbols: Add symfs option for off-box analysis using specified tree 2010-12-21 20:17:51 -02:00
perf-top.txt
perf.txt