Hello,
I am trying to monitor different processes running in the machine using PAPI_overflow. In order to do that, I list all the PIDs from the processes currently running, and, for each one, I create and add events to an eventset, set an overflow, and try to attach this eventset to the PID. However, even though the code compiles and runs without raising any errors, the overflows are only triggered for the monitoring process, and not for any other one.
Does anyone know if it is possible to use PAPI_overflow to monitor different external processes? And if so, how should I proceed?
Thank you in advance.