[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1381320078-16497-1-git-send-email-adrian.hunter@intel.com>
Date: Wed, 9 Oct 2013 15:01:10 +0300
From: Adrian Hunter <adrian.hunter@...el.com>
To: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel@...r.kernel.org, David Ahern <dsahern@...il.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Jiri Olsa <jolsa@...hat.com>, Mike Galbraith <efault@....de>,
Namhyung Kim <namhyung@...il.com>,
Paul Mackerras <paulus@...ba.org>,
Stephane Eranian <eranian@...gle.com>
Subject: [PATCH V6 0/8] perf tools: kcore improvements
Hi
Here are some improvements for using kcore (version 6). There are 3
improvements:
- validate that kcore matches the perf.data modules
- workaround objdump difficulties with kcore
- add kcore to the build-id cache
Changes in V6:
perf tools: make a separate function to parse /proc/modules
Dropped because it has been applied
perf tools: workaround objdump difficulties with kcore
Renamed some functions and reordered parameters
perf buildid-cache: add ability to add kcore to the cache
Renamed some functions and reordered parameters
Changes in V5:
perf tools: make a separate function to parse /proc/modules
Use scnprintf not snprintf
perf tools: validate kcore module addresses
Fix check for mi->name not allocated
perf buildid-cache: add ability to add kcore to the cache
Use scnprintf not snprintf
perf tools: add ability to find kcore in build-id cache
Use scnprintf not snprintf
Changes in V4:
perf tools: fix path unpopulated in machine__create_modules()
Dropped because it has been applied
perf buildid-cache: add ability to add kcore to the cache
Tweaked Documentation/perf-buildid-cache.txt
perf tools: add ability to find kcore in build-id cache
Changed to check read access to /proc/kcore before
skipping the buildid cache
Changes in V3:
perf tools: workaround objdump difficulties with kcore
change strncpy to strlcpy
perf buildid-cache: add ability to add kcore to the cache
change strncpy to strlcpy
perf tools: add ability to find kcore in build-id cache
change strncpy to strlcpy
Changes in V2:
perf tools: fix buildid cache handling of kallsyms with kcore
Dropped because it has been applied
perf tools: fix path unpopulated in machine__create_modules()
Use 'modules' pointer
Adrian Hunter (8):
perf tools: validate kcore module addresses
perf tools: workaround objdump difficulties with kcore
perf tools: add map__find_other_map_symbol()
perf tools: fix annotate_browser__callq()
perf tools: find kcore symbols on other maps
perf tools: add copyfile_mode()
perf buildid-cache: add ability to add kcore to the cache
perf tools: add ability to find kcore in build-id cache
tools/perf/Documentation/perf-buildid-cache.txt | 13 +
tools/perf/builtin-buildid-cache.c | 148 +++++-
tools/perf/ui/browsers/annotate.c | 10 +-
tools/perf/util/annotate.c | 36 +-
tools/perf/util/map.c | 27 ++
tools/perf/util/map.h | 2 +
tools/perf/util/symbol-elf.c | 579 ++++++++++++++++++++++++
tools/perf/util/symbol-minimal.c | 15 +
tools/perf/util/symbol.c | 384 +++++++++++++---
tools/perf/util/symbol.h | 17 +
tools/perf/util/util.c | 18 +-
tools/perf/util/util.h | 1 +
12 files changed, 1165 insertions(+), 85 deletions(-)
Regards
Adrian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists