mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
e266a753bf
commit
1216b65c50
@@ -76,6 +76,7 @@ struct perf_tool build_id__mark_dso_hit_ops = {
|
||||
.exit = perf_event__exit_del_thread,
|
||||
.attr = perf_event__process_attr,
|
||||
.build_id = perf_event__process_build_id,
|
||||
.ordered_events = true,
|
||||
};
|
||||
|
||||
int build_id__sprintf(const u8 *build_id, int len, char *bf)
|
||||
|
||||
Reference in New Issue
Block a user