Hi Adrian, On Mon, 24 Jun 2013 16:16:06 +0300, Adrian Hunter wrote: > 'size' includes the header so must be at least > 'sizeof(struct perf_event_header)'. Error out > immediately if that is not the case. Also
Just out of curiosity. Do you have an experience it really matters? AFAICS such an invalid sample should be detected during sample processing. Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/