-
- Downloads
perf symbols: Add support for reading from /proc/kcore
In the absence of vmlinux, perf tools uses kallsyms for symbols. If the user has access, now also map to /proc/kcore. The dso data_type is now set to either DSO_BINARY_TYPE__KCORE or DSO_BINARY_TYPE__GUEST_KCORE as approprite. This patch breaks the "vmlinux symtab matches kallsyms" test. That is fixed in a following patch. Signed-off-by:Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1375875537-4509-8-git-send-email-adrian.hunter@intel.com Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/util/dso.c 5 additions, 0 deletionstools/perf/util/dso.c
- tools/perf/util/dso.h 8 additions, 0 deletionstools/perf/util/dso.h
- tools/perf/util/machine.c 16 additions, 0 deletionstools/perf/util/machine.c
- tools/perf/util/map.c 18 additions, 0 deletionstools/perf/util/map.c
- tools/perf/util/map.h 13 additions, 0 deletionstools/perf/util/map.h
- tools/perf/util/symbol-elf.c 51 additions, 0 deletionstools/perf/util/symbol-elf.c
- tools/perf/util/symbol-minimal.c 7 additions, 0 deletionstools/perf/util/symbol-minimal.c
- tools/perf/util/symbol.c 224 additions, 3 deletionstools/perf/util/symbol.c
- tools/perf/util/symbol.h 5 additions, 0 deletionstools/perf/util/symbol.h
Loading
Please register or sign in to comment