[PATCH V6 09/12] perf: make events stream always parsable

2013-07-16 Thread Adrian Hunter
The event stream is not always parsable because the format of a sample is dependent on the sample_type of the selected event. When there is more than one selected event and the sample_types are not the same then parsing becomes problematic. A sample can be matched to its selected event using the

[PATCH V6 09/12] perf: make events stream always parsable

2013-07-16 Thread Adrian Hunter
The event stream is not always parsable because the format of a sample is dependent on the sample_type of the selected event. When there is more than one selected event and the sample_types are not the same then parsing becomes problematic. A sample can be matched to its selected event using the