Hello.
perf_evsel__open cannot create an event group because it set group_fd
to -1 when it ran perf_event_open.
Is there any reason why group_fd is fixed at -1?
Best Regards
Shunsuke
On Mon, Jun 14, 2021 at 07:17:53AM +0000, [email protected] wrote:
> Hello.
>
> perf_evsel__open cannot create an event group because it set group_fd
> to -1 when it ran perf_event_open.
> Is there any reason why group_fd is fixed at -1?
hi,
there'no leader link on this level yet (in struct evsel)
so this is not implemented at the moment
jirka
>
> Best Regards
> Shunsuke
Hi, jirka
> there'no leader link on this level yet (in struct evsel)
> so this is not implemented at the moment
Thanks for the info.
Do you have any plans to support the event group in libperf?
Best Regards
Shunsuke
On Tue, Jun 22, 2021 at 07:57:56AM +0000, [email protected] wrote:
> Hi, jirka
>
> > there'no leader link on this level yet (in struct evsel)
> > so this is not implemented at the moment
>
> Thanks for the info.
>
> Do you have any plans to support the event group in libperf?
hi,
not until now I guess ;-) what's your use case?
jirka
Hi, jirka
> > Do you have any plans to support the event group in libperf?
>
> hi,
> not until now I guess ;-) what's your use case?
PAPI uses event group to measure multiple events.
libperf uses multiplexing regardless of the user's intent.
I thought it would be nice if users could choose to use multiplexing or event groups.
Best Regards
Shunsuke
jirka