summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-buildid-cache.txt
diff options
context:
space:
mode:
authorKrister Johansen2017-07-06 03:48:11 +0200
committerArnaldo Carvalho de Melo2017-07-19 04:14:11 +0200
commitf045b8c4b36baddcfbdd4d3d956446e688b0b3cd (patch)
tree254b370374c31a5750b9aaa2fcc0b5f87208093e /tools/perf/Documentation/perf-buildid-cache.txt
parentperf probe: Allow placing uprobes in alternate namespaces. (diff)
downloadkernel-qcow2-linux-f045b8c4b36baddcfbdd4d3d956446e688b0b3cd.tar.gz
kernel-qcow2-linux-f045b8c4b36baddcfbdd4d3d956446e688b0b3cd.tar.xz
kernel-qcow2-linux-f045b8c4b36baddcfbdd4d3d956446e688b0b3cd.zip
perf buildid-cache: Support binary objects from other namespaces
Teach buildid-cache how to add, remove, and update binary objects from other mount namespaces. Allow probe events tracing binaries in different namespaces to add their objects to the probe and build-id caches too. As a handy side effect, this also lets us access SDT probes in binaries from alternate mount namespaces. Signed-off-by: Krister Johansen <kjlx@templeofstupid.com> Tested-by: Brendan Gregg <brendan.d.gregg@gmail.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas-Mich Richter <tmricht@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/1499305693-1599-5-git-send-email-kjlx@templeofstupid.com [ Add util/namespaces.c to tools/perf/util/python-ext-sources, to fix the python binding 'perf test' ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-buildid-cache.txt')
-rw-r--r--tools/perf/Documentation/perf-buildid-cache.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-buildid-cache.txt b/tools/perf/Documentation/perf-buildid-cache.txt
index 058064db39d2..84681007f80f 100644
--- a/tools/perf/Documentation/perf-buildid-cache.txt
+++ b/tools/perf/Documentation/perf-buildid-cache.txt
@@ -61,6 +61,11 @@ OPTIONS
--verbose::
Be more verbose.
+--target-ns=PID:
+ Obtain mount namespace information from the target pid. This is
+ used when creating a uprobe for a process that resides in a
+ different mount namespace from the perf(1) utility.
+
SEE ALSO
--------
linkperf:perf-record[1], linkperf:perf-report[1], linkperf:perf-buildid-list[1]