-
Notifications
You must be signed in to change notification settings - Fork 349
Description
As per the comments from #2133 (comment) we need to make some major changes to the trace system.
I want to have that discussion moved into a separate issue where we can follow it instead of polluting other trace related changes.
The main issue pointed out there is that traces should be enabled and disabled at runtime instead of
compile time.
@plbossart @akloniex @mmaka1 Let's continue the discussion here so we all know what we should do.
@lgirdwood suggested we should strive to obtain an API similar to trace_err(object, format, ...) where the object will contain the required trace class, object ID and the support for runtime/userspace enable/disable of the traces (ref: #2287 (comment) )
Current work: #2398 (new ABI version -- the new trace interface isn't backward compatible, but we don't want the IPC ABI to be affected because IPC will keep working just fine), #2408 (components will have a pointer to the driver itself), #2410 (UUID for every component type for traces, instead of the linear IDs).