linux-pinenote/tools/perf/util/include/linux
Arnaldo Carvalho de Melo baa2f6cedb perf record: Add option to disable collecting build-ids
Collecting build-ids for long running sessions may take a long time
because it needs to traverse the whole just collected perf.data stream
of events, marking the DSOs that had hits and then looking for the
.note.gnu.build-id ELF section.

For things like the 'trace' tool that records and right away consumes
the data on systems where its unlikely that the DSOs being monitored
will change while 'trace' runs, it is desirable to remove build id
collection, so add a -B/--no-buildid option to perf record to allow such
use case.

Longer term we'll avoid all this if we, at DSO load time, in the kernel,
take advantage of this slow code path to collect the build-id and stash
it somewhere, so that we can insert it in the PERF_RECORD_MMAP event.

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-11-26 19:39:15 -02:00
..
bitmap.h perf tools: Don't use code surrounded by __KERNEL__ 2010-05-02 12:00:44 -03:00
bitops.h perf record: Add option to disable collecting build-ids 2010-11-26 19:39:15 -02:00
compiler.h perf tools: Move __used from perf.h to linux/compiler.h 2010-03-26 08:52:59 +01:00
ctype.h perf tools: Bring linear set of section headers for features 2009-11-11 07:30:19 +01:00
hash.h perf: Add util/include/linuxhash.h to include hash.h of kernel 2010-01-31 08:27:53 +01:00
kernel.h perf options: Check v type in OPT_U?INTEGER 2010-05-17 15:43:38 -03:00
linkage.h perf bench: Add feature that measures the performance of the arch/x86/lib/memcpy_64.S memcpy routines via 'perf bench mem' 2010-11-26 08:15:57 +01:00
list.h perf tui: Introduce list_head based generic ui_browser refresh routine 2010-08-06 16:51:12 -03:00
module.h
poison.h perf_counter tools: Share list.h with the kernel 2009-07-01 22:37:23 +02:00
prefetch.h perf_counter tools: Share list.h with the kernel 2009-07-01 22:37:23 +02:00
rbtree.h
string.h perf tools: Add missing tools/perf/util/include/string.h 2009-10-20 02:59:34 +02:00
types.h perf: Add back list_head data types 2010-08-12 21:50:00 +02:00