Re: libperf : Can not create event group

From: Jiri Olsa
Date: Mon Jun 14 2021 - 07:31:28 EST


On Mon, Jun 14, 2021 at 07:17:53AM +0000, nakamura.shun@xxxxxxxxxxx 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