I'd much rather see the *_EVENT() APIs used - but enhanced to address Peter's
objections. One change would be to add a DEFINE_EVENT_ABI() variant, which
would be called via trace_abi_*() calls. That way we always know they are
'hardwired' events in the extreme.
That then would allow the software events to be consolidated.
Peter?
Ingo
--