]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - tools/perf/util/dso.h
perf symbols: Find symbols in different mount namespace
authorKrister Johansen <kjlx@templeofstupid.com>
Thu, 6 Jul 2017 01:48:08 +0000 (18:48 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:14:09 +0000 (23:14 -0300)
commit843ff37bb59edbe51d64e77ba1b3245a15a4dd9f
tree7c1e50cb4b60af9776364ec65118c9a0db0cbcdf
parent86bcdb5a43997bb02ba25a76482c7bfc652ba45b
perf symbols: Find symbols in different mount namespace

Teach perf how to resolve symbols from binaries that are in a different
mount namespace from the tool.  This allows perf to generate meaningful
stack traces even if the binary resides in a different mount namespace
from the tool.

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-2-git-send-email-kjlx@templeofstupid.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dso.c
tools/perf/util/dso.h
tools/perf/util/map.c
tools/perf/util/namespaces.c
tools/perf/util/namespaces.h
tools/perf/util/symbol.c
tools/perf/util/thread.c
tools/perf/util/thread.h