aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>2016-07-01 04:03:26 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-07-01 10:34:57 -0400
commit1f3736c9c833e40ac4d3a8dc6d661e341df8a259 (patch)
tree25181ab3dfea97bc4986f2c4c49866e037a51873 /tools/perf/Documentation
parentbc0622302f344551050995491b7d14176f39c628 (diff)
perf probe: Show all cached probes
perf probe --list shows all cached probes when --cache is given. Each caches are shown with on which binary that probed. E.g.: ----- # perf probe --cache vfs_read \$params # perf probe --cache -x /lib64/libc-2.17.so getaddrinfo \$params # perf probe --cache --list [kernel.kallsyms] (1466a0a250b5d0070c6d0f03c5fed30b237970a1): vfs_read $params /usr/lib64/libc-2.17.so (c31ffe7942bfd77b2fca8f9bd5709d387a86d3bc): getaddrinfo $params ----- Note that $params requires debuginfo. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com> Cc: Brendan Gregg <brendan.d.gregg@gmail.com> Cc: Hemant Kumar <hemant@linux.vnet.ibm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/146736020674.27797.13488316780383460180.stgit@devbox Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r--tools/perf/Documentation/perf-probe.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf/Documentation/perf-probe.txt
index 947db6fe512c..5a70d45015ea 100644
--- a/tools/perf/Documentation/perf-probe.txt
+++ b/tools/perf/Documentation/perf-probe.txt
@@ -67,7 +67,10 @@ OPTIONS
67 67
68-l:: 68-l::
69--list[=[GROUP:]EVENT]:: 69--list[=[GROUP:]EVENT]::
70 List up current probe events. This can also accept filtering patterns of event names. 70 List up current probe events. This can also accept filtering patterns of
71 event names.
72 When this is used with --cache, perf shows all cached probes instead of
73 the live probes.
71 74
72-L:: 75-L::
73--line=:: 76--line=::
@@ -110,8 +113,9 @@ OPTIONS
110 adding and removal operations. 113 adding and removal operations.
111 114
112--cache:: 115--cache::
113 Cache the probes (with --add option). Any events which successfully added 116 (With --add) Cache the probes. Any events which successfully added
114 are also stored in the cache file. 117 are also stored in the cache file.
118 (With --list) Show cached probes.
115 119
116--max-probes=NUM:: 120--max-probes=NUM::
117 Set the maximum number of probe points for an event. Default is 128. 121 Set the maximum number of probe points for an event. Default is 128.