On 01/08/17 11:41 AM, Christian König wrote:
We can turn of the trace subsystem during compile time already.

Additional to that the trace points use self modifying code to make sure that they don't have any overhead as long as they are turned off. But I don't think this works with the "if (trace_*_enabled()" as well.

Anyway, not a performance critical code path so I don't really bother.

Well aside from that this will only really be useful in upstream kernels where we don't control the configuration.

Eventually if we come up with a better solution (tm) then we can revert this cleanly.

Tom
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to