diff options
author | Sunny He <suhe@nvidia.com> | 2017-06-21 15:08:08 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-24 12:34:52 -0400 |
commit | cc64606a535edd9fd96487631f8ef583226fc575 (patch) | |
tree | e639f1496ab22b35fde90643abd2ddfc28a27bf5 /drivers/gpu/nvgpu/Makefile.nvgpu | |
parent | 4b5b67d6d83430d8d670660b1dfc9cf024d60d88 (diff) |
gpu: nvgpu: debugfs code to dump HAL functions
Prints addresses of device-specific HAL functions to debugfs file
hal/gops.
The list of functions is produced by dumping the contents of the
gpu_ops substruct of the gk20a struct. This interface makes the
assumption that there are only function pointers in gpu_ops.
Companion Python script nvgpu_debug_hal.py analyzes gk20a.h to
determine operation counts and prettyify debugfs interface's
output.
Jira NVGPU-107
Change-Id: I0910e86638d144979e8630bbc5b330bccfd3ad94
Signed-off-by: Sunny He <suhe@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1542990
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile.nvgpu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile.nvgpu index 2aa76497..dab9db92 100644 --- a/drivers/gpu/nvgpu/Makefile.nvgpu +++ b/drivers/gpu/nvgpu/Makefile.nvgpu | |||
@@ -129,6 +129,7 @@ nvgpu-$(CONFIG_DEBUG_FS) += \ | |||
129 | common/linux/debug_sched.o \ | 129 | common/linux/debug_sched.o \ |
130 | common/linux/debug_mm.o \ | 130 | common/linux/debug_mm.o \ |
131 | common/linux/debug_allocator.o \ | 131 | common/linux/debug_allocator.o \ |
132 | common/linux/debug_hal.o \ | ||
132 | common/linux/debug_kmem.o \ | 133 | common/linux/debug_kmem.o \ |
133 | common/linux/debug_clk.o | 134 | common/linux/debug_clk.o |
134 | 135 | ||