mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
867928dd23
commit
c49160127a
@@ -281,20 +281,6 @@ static inline void nvgpu_alloc_disable_dbg(struct nvgpu_allocator *a)
|
||||
/*
|
||||
* Debug stuff.
|
||||
*/
|
||||
extern u32 nvgpu_alloc_tracing_on;
|
||||
|
||||
#define nvgpu_alloc_trace_func() \
|
||||
do { \
|
||||
if (nvgpu_alloc_tracing_on) \
|
||||
trace_printk("%s\n", __func__); \
|
||||
} while (0)
|
||||
|
||||
#define nvgpu_alloc_trace_func_done() \
|
||||
do { \
|
||||
if (nvgpu_alloc_tracing_on) \
|
||||
trace_printk("%s_done\n", __func__); \
|
||||
} while (0)
|
||||
|
||||
#define __alloc_pstat(seq, allocator, fmt, arg...) \
|
||||
do { \
|
||||
if (s) \
|
||||
|
||||
Reference in New Issue
Block a user