platform_Perf: Check for build IDs in perf data

Expand test coverage to check the DSOs and their associated build IDs.
The perf data must contain build IDs for all the DSOs with samples (i.e.
the ones that show up in the report). A kernel build ID must also be
present in perf data.

BUG=chromium:584475
TEST=autotest platform_Perf passes, but fails with a perf binary built
with https://chromium-review.googlesource.com/#/c/326431/ reverted.
CQ-DEPEND=I08b87c9ac43672f65b1749600ddf2977e950c6bd

Change-Id: I4e7c81c7a42fb79958317e5f6a810a4b9e59b263
Signed-off-by: Simon Que <sque@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/326500
1 file changed