Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf buildid-list: Requires ordered events

'perf buildid-list' processes events to determine hits (i.e. with-hits
option). That may not work if events are not sorted in order. i.e. MMAP
events must be processed before the samples that depend on them so that
sample processing can 'hit' the DSO to which the MMAP refers.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1447408112-1920-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Adrian Hunter and committed by
Arnaldo Carvalho de Melo
1216b65c e266a753

+1
+1
tools/perf/util/build-id.c
··· 76 76 .exit = perf_event__exit_del_thread, 77 77 .attr = perf_event__process_attr, 78 78 .build_id = perf_event__process_build_id, 79 + .ordered_events = true, 79 80 }; 80 81 81 82 int build_id__sprintf(const u8 *build_id, int len, char *bf)