That's almost a year ago; I really can't remember that and you didn't
put any of that in your Changelog to help me remember.
(also please use: https://lkml.kernel.org/r/$msgid style links)
In the previous version, we added a "no_counter" bit to perf_event_attr, andJust add an argument to perf_event_create_kernel_counter() ?
that will be exposed to user ABI, which seems not good.
(https://lkml.org/lkml/2019/2/14/791)
So we wrap a new kernel API above to support this.
Do you have a different suggestion to do this?
(exclude host/guest just clears the enable bit when on VM-exit/entry,
still consumes the counter)