[PATCH] drm/amd/amdgpu: Add tracepoint for DMA page mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux