On 1/12/15 10:22 AM, Carl Love wrote:
Ah, this is the ioctl patch you had mentioned you mentioned previously.
I hadn't found the patch before.  Yes, this looks like it would work.  I
will see if I can get a prototype working with this patch.  Thanks.


If you need to shove samples into perf (versus mmap updates) I suspect the prctl system call will have way to much overhead. In that case perhaps processes could export a shared memory buffer that a perf session could attach -- another aux buffer similar to what itrace needs. But then that brings in the perf_clock issue; samples would need to have the same time basis as kernel generated samples.

David

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

Reply via email to