perf tools: Fix buildid processing
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 19 Aug 2015 14:29:21 +0000 (17:29 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Aug 2015 17:15:26 +0000 (14:15 -0300)
commitcca8482c0651cea97aade58cc22109ce9fffbfa2
treee7b40194ae6d42ceefa75ff51fcd33ea35331b1f
parent5cb73340d92a716fd2776700742c3558206ae298
perf tools: Fix buildid processing

After recording, 'perf record' post-processes the data to determine
which buildids are needed.

That processing must process the data in time order, if possible,
because otherwise dependent events, like forks and mmaps, will not make
sense.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Jiri Olsa <jolsa@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1439994561-27436-4-git-send-email-adrian.hunter@intel.com
[ Moved the sample_id_add to after trying to open the events, use pr_warning ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c