Page 1 of 1

PAPI_sprofil and third-party monitoring

PostPosted: Fri Dec 02, 2011 12:43 pm
by chrisaj
Is it ever going to be possible to use PAPI_sprofil or PAPI_overflow to get sampled data for an attached process/thread?

When I try PAPI_sprofil returns invalid argument. And indeed in the papi.c code I see a check whether the event set is attached and if so it returns EINVAL.

Is there any reason why this could not be made to work?

I want to be able to attach to a running process and profile it (to find hotspots!).