summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/debug_allocator.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-08-17 21:38:32 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-28 11:54:28 -0400
commitc49160127acfa5a9f550ecfa2d61c054060dbab3 (patch)
treed45ea332bb38b85121dde0f6222b8516ad911bc0 /drivers/gpu/nvgpu/common/linux/debug_allocator.c
parent867928dd232d941abff9e17f3c44af06080c0134 (diff)
gpu: nvgpu: remove unused tracing from allocators
Remove an unused tracing feature from the allocator code. This should make multi-OS support slightly easier. Change-Id: I8b57f037b66227f2110e457bff7aa6b443d89e82 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1544438 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_allocator.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug_allocator.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_allocator.c b/drivers/gpu/nvgpu/common/linux/debug_allocator.c
index 6a0aa4c5..766c8486 100644
--- a/drivers/gpu/nvgpu/common/linux/debug_allocator.c
+++ b/drivers/gpu/nvgpu/common/linux/debug_allocator.c
@@ -20,8 +20,6 @@
20 20
21#include <nvgpu/allocator.h> 21#include <nvgpu/allocator.h>
22 22
23u32 nvgpu_alloc_tracing_on;
24
25void nvgpu_alloc_print_stats(struct nvgpu_allocator *__a, 23void nvgpu_alloc_print_stats(struct nvgpu_allocator *__a,
26 struct seq_file *s, int lock) 24 struct seq_file *s, int lock)
27{ 25{
@@ -76,7 +74,4 @@ void nvgpu_alloc_debugfs_init(struct gk20a *g)
76 l->debugfs_allocators = NULL; 74 l->debugfs_allocators = NULL;
77 return; 75 return;
78 } 76 }
79
80 debugfs_create_u32("tracing", 0664, l->debugfs_allocators,
81 &nvgpu_alloc_tracing_on);
82} 77}