msm: kgsl: Add in-kernel command batch profiling
Enable profiling for all targets that have the 19.2Mhz counter and
record the tick value at command batch submit, start and retire and
print the values in the ftrace messages giving a more complete
picture of how the command batch performed.
This is very similar to the user based command batch profiling except
in this case the values are managed internally and reported via ftrace
while the user profiling reads the ticks via a user space allocated
buffer.
Change-Id: Ic0dedbad37ced87eb6d6444664a462b088d70f43
Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please register or sign in to comment