On Mon, 2015-01-12 at 10:58 -0700, David Ahern wrote:
> 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
David:
My thought was to just send the load/unload notifications with a key of
some sort that can then be used to correlate the load/unload key to the
same key associated with an entry in a separate file where the code
would be written. The build-id was mentioned by Arnaldo which could be
used as the key. I was trying to figure out if I can generate the
build-id key in the java library file. Not sure if that is practical at
this point.
Carl Love
--
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