diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-08-17 21:38:32 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-28 11:54:28 -0400 |
commit | c49160127acfa5a9f550ecfa2d61c054060dbab3 (patch) | |
tree | d45ea332bb38b85121dde0f6222b8516ad911bc0 /drivers/gpu/nvgpu/include | |
parent | 867928dd232d941abff9e17f3c44af06080c0134 (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/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/allocator.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/allocator.h b/drivers/gpu/nvgpu/include/nvgpu/allocator.h index 567c4422..30bfa750 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/allocator.h +++ b/drivers/gpu/nvgpu/include/nvgpu/allocator.h | |||
@@ -281,20 +281,6 @@ static inline void nvgpu_alloc_disable_dbg(struct nvgpu_allocator *a) | |||
281 | /* | 281 | /* |
282 | * Debug stuff. | 282 | * Debug stuff. |
283 | */ | 283 | */ |
284 | extern u32 nvgpu_alloc_tracing_on; | ||
285 | |||
286 | #define nvgpu_alloc_trace_func() \ | ||
287 | do { \ | ||
288 | if (nvgpu_alloc_tracing_on) \ | ||
289 | trace_printk("%s\n", __func__); \ | ||
290 | } while (0) | ||
291 | |||
292 | #define nvgpu_alloc_trace_func_done() \ | ||
293 | do { \ | ||
294 | if (nvgpu_alloc_tracing_on) \ | ||
295 | trace_printk("%s_done\n", __func__); \ | ||
296 | } while (0) | ||
297 | |||
298 | #define __alloc_pstat(seq, allocator, fmt, arg...) \ | 284 | #define __alloc_pstat(seq, allocator, fmt, arg...) \ |
299 | do { \ | 285 | do { \ |
300 | if (s) \ | 286 | if (s) \ |