Hi Stephane,
Thank you for your reply. I understand that I can pass the inherit flag to
perf_event_open() on my own. However, it can only apply to the child threads
created after the perf_event_open() syscall, and does not apply to the existing
child threads. For example, if process 1234 create
Hi,
On Fri, Apr 24, 2015 at 9:33 PM, Yunqi Zhang
wrote:
> Hi all,
>
> I'm trying to use libpfm to collect performance counter data for some
> multi-threaded applications. I would like to aggregate the data for all the
> child threads under the same process. I found that the "inherit" flag does
>
Hi all,
I'm trying to use libpfm to collect performance counter data for some
multi-threaded applications. I would like to aggregate the data for all the
child threads under the same process. I found that the "inherit" flag does
not work for existing children threads as suggested by perf_event_ope