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!).