Re: [PATCH 2/3] perf events: Introduce realtime clock event

David Ahern
2011-02-18T15:35:51Z

On 02/18/11 07:58, Peter Zijlstra wrote:
> Well, but you can fix that, simply add PERF_SAMPLE_READ, no need to
> abuse the raw crap.
>

Ok I see how this option works kernel side. It's not plumbed userspace side:
if (type & PERF_SAMPLE_READ) {
fprintf(stderr, "PERF_SAMPLE_READ is unsuported for now\n");
return -1;
}

I'll take a look at that.

David

>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html