perf symbols: Add symfs option for off-box analysis using specified tree
authorDavid Ahern <daahern@cisco.com>
Thu, 9 Dec 2010 20:27:07 +0000 (13:27 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 21 Dec 2010 22:17:51 +0000 (20:17 -0200)
commitec5761eab318e50e69fcf8e63e9edaef5949c067
treeb81fa986f8c61f3cdcbbf11bc1195db65e8cd036
parenteac23d1c384b55e4bbb89ea9e5a6bb77fb4d1140
perf symbols: Add symfs option for off-box analysis using specified tree

The symfs argument allows analysis of perf.data file using a locally accessible
filesystem tree with debug symbols - e.g., tree created during image builds,
sshfs mount, loop mounted KVM disk images, USB keys, initrds, etc. Anything
with an OS tree can be analyzed from anywhere without the need to populate a
local data store with build-ids.

Commiter notes:

o Fixed up symfs="/" variants handling.

o prefixed DSO__ORIG_GUEST_KMODULE case with symfs too, avoiding use of files
  outside the symfs directory.

LKML-Reference: <1291926427-28846-1-git-send-email-daahern@cisco.com>
Signed-off-by: David Ahern <daahern@cisco.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-diff.txt
tools/perf/Documentation/perf-report.txt
tools/perf/Documentation/perf-timechart.txt
tools/perf/builtin-diff.c
tools/perf/builtin-report.c
tools/perf/builtin-timechart.c
tools/perf/util/hist.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h