linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V7 0/7] perf tools: kcore improvements
@ 2013-10-14 10:43 Adrian Hunter
  2013-10-14 10:43 ` [PATCH V7 1/7] perf tools: Add map_groups__find_ams() Adrian Hunter
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Adrian Hunter @ 2013-10-14 10:43 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Peter Zijlstra, linux-kernel, David Ahern, Frederic Weisbecker,
	Jiri Olsa, Mike Galbraith, Namhyung Kim, Paul Mackerras,
	Stephane Eranian

Hi

Here are some improvements for using kcore (version 7).  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 V7:
	perf tools: validate kcore module addresses
		Dropped because it has been applied
	perf tools: workaround objdump difficulties with kcore
		Dropped because it has been applied
	perf tools: Add map_groups__find_ams()
		New patch
	perf tools: fix annotate_browser__callq()
		Changed to use map_groups__find_ams()
	perf tools: find kcore symbols on other maps
		Changed to use map_groups__find_ams()
	perf tools: another fix for annotate_browser__callq()
		New patch

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 (6):
      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
      perf tools: another fix for annotate_browser__callq()

Arnaldo Carvalho de Melo (1):
      perf tools: Add map_groups__find_ams()

 tools/perf/Documentation/perf-buildid-cache.txt |  13 +
 tools/perf/builtin-buildid-cache.c              | 148 +++++++++-
 tools/perf/ui/browsers/annotate.c               |  24 +-
 tools/perf/util/annotate.c                      |  22 +-
 tools/perf/util/map.c                           |  48 +++-
 tools/perf/util/map.h                           |   7 +
 tools/perf/util/symbol-elf.c                    | 358 ++++++++++++++++++++++++
 tools/perf/util/symbol-minimal.c                |   6 +
 tools/perf/util/symbol.c                        | 188 ++++++++++---
 tools/perf/util/symbol.h                        |   3 +
 tools/perf/util/util.c                          |  18 +-
 tools/perf/util/util.h                          |   1 +
 12 files changed, 761 insertions(+), 75 deletions(-)


Regards
Adrian


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-10-15  5:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-14 10:43 [PATCH V7 0/7] perf tools: kcore improvements Adrian Hunter
2013-10-14 10:43 ` [PATCH V7 1/7] perf tools: Add map_groups__find_ams() Adrian Hunter
2013-10-15  5:33   ` [tip:perf/core] perf symbols: " tip-bot for Arnaldo Carvalho de Melo
2013-10-14 10:43 ` [PATCH V7 2/7] perf tools: fix annotate_browser__callq() Adrian Hunter
2013-10-15  5:35   ` [tip:perf/core] perf annotate: Fix annotate_browser__callq() tip-bot for Adrian Hunter
2013-10-14 10:43 ` [PATCH V7 3/7] perf tools: find kcore symbols on other maps Adrian Hunter
2013-10-15  5:34   ` [tip:perf/core] perf annotate: Find " tip-bot for Adrian Hunter
2013-10-14 10:43 ` [PATCH V7 4/7] perf tools: add copyfile_mode() Adrian Hunter
2013-10-15  5:35   ` [tip:perf/core] perf tools: Add copyfile_mode() tip-bot for Adrian Hunter
2013-10-14 10:43 ` [PATCH V7 5/7] perf buildid-cache: add ability to add kcore to the cache Adrian Hunter
2013-10-14 13:13   ` Arnaldo Carvalho de Melo
2013-10-14 13:57     ` Adrian Hunter
2013-10-15  5:35       ` [tip:perf/core] perf buildid-cache: Add " tip-bot for Adrian Hunter
2013-10-14 10:43 ` [PATCH V7 6/7] perf tools: add ability to find kcore in build-id cache Adrian Hunter
2013-10-15  5:35   ` [tip:perf/core] perf symbols: Add " tip-bot for Adrian Hunter
2013-10-14 10:43 ` [PATCH V7 7/7] perf tools: another fix for annotate_browser__callq() Adrian Hunter
2013-10-15  5:35   ` [tip:perf/core] perf annotate: Another " tip-bot for Adrian Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).