summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvgpu.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-03-14 20:29:06 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-16 14:03:59 -0400
commit886016190c804743da83f9e0db3366fef9720d0a (patch)
treeba5c3c1a2418ffef33e301a0013234f69783e3b1 /include/uapi/linux/nvgpu.h
parent7fd72e313501c5fca0a161ed768247434233e60c (diff)
gpu: nvgpu: Fix timers failure address
In the timers code a macro was using __builtin_return_address(0) when it should have been using _THIS_IP_. __builtin_return_address(0) will cause the timers code to print the return address of the function that calls the timers code. This isn't actually useful, of course. A user actually cares about where the timers code call comes from which is easily obtained with _THIS_IP_. Bug 1799159 Change-Id: Iac16bc79e89e4cd18133db3d20f5a50d4d5e8f31 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1320839 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu.h')
0 files changed, 0 insertions, 0 deletions