Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

From: David Ahern
Date: Fri Oct 26 2012 - 12:47:53 EST


On 10/26/12 10:25 AM, Namhyung Kim wrote:
2012-10-26 (ê), 10:14 -0600, David Ahern:
On 10/26/12 9:39 AM, Namhyung Kim wrote:
hm, thats the unique sample_type issue again ;) Once we set
PERF_SAMPLE_READ for event or group, we need to set it for
all other events in session, otherwise the report fails

Sorry, I don't understand why we need to set it for all events. Just
setting it for a group is not sufficient? Please shed some light on
this.

perf does not support multiple sample_types -- all events in the session
need to use the same one.

Can I ask why? :)

Of course:
https://lkml.org/lkml/2011/8/15/6
https://lkml.org/lkml/2011/9/29/502

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/