OSDN Git Service

simpleperf: accept different perf_attr sizes.
authorYabin Cui <yabinc@google.com>
Tue, 16 Feb 2016 20:15:31 +0000 (12:15 -0800)
committerYabin Cui <yabinc@google.com>
Mon, 7 Mar 2016 19:57:37 +0000 (11:57 -0800)
commit9a1f829db03dc9ad9701b4ddae1267d3140e84f4
tree53246c456bc60d7ab186bd8ba6912552df92326e
parent0bd2a5cef3cf787552c55f643631b6ba77637711
simpleperf: accept different perf_attr sizes.

The size of perf_attr can be increased as new features are added. And
we can accept different perf_attr sizes in perf.data, and ignore
unknown features.

Bug: 26962895

Change-Id: Ia42617f92acb3ab6ae56eb91aa0d7b73efc0b8af
(cherry picked from commit dd2ae2878b7e5ac1754da55a08cbcdacadf53d78)
simpleperf/record_file_reader.cpp