From 503fe523041d5bd986b7e704774efd4bc1396a32 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 10 Jan 2019 15:04:47 -0800 Subject: [PATCH] gpu: nvgpu: Add stub for channel reset trace Add a stub function for channel reset trace event. Missing the stub prevents build without Linux ftrace. JIRA NVGPU-1734 Change-Id: Iaa04c9f4715918658d68257056f1969440ff9ca9 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1992455 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/trace/events/gk20a.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/trace/events/gk20a.h b/include/trace/events/gk20a.h index 4cc00303b..6bb923e0c 100644 --- a/include/trace/events/gk20a.h +++ b/include/trace/events/gk20a.h @@ -1,7 +1,7 @@ /* * gk20a event logging to ftrace. * - * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -634,6 +634,7 @@ DEFINE_EVENT(gk20a_cde, gk20a_cde_finished_ctx_cb, #define trace_gk20a_channel_put(arg...) ((void)(NULL)) #define trace_gk20a_open_new_channel(arg...) ((void)(NULL)) #define trace_gk20a_channel_update(arg...) ((void)(NULL)) +#define trace_gk20a_channel_reset(arg...) ((void)(NULL)) #define trace_gk20a_mm_fb_flush(arg...) ((void)(NULL)) #define trace_gk20a_mm_fb_flush_done(arg...) ((void)(NULL))