[PATCH] drm/amd/amdgpu: Add tracepoint for DMA page mapping
Tom St Denis
tom.stdenis at amd.com
Tue Aug 1 17:00:37 UTC 2017
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
More information about the amd-gfx
mailing list