diff mbox

[3/3] drm/scheduler: move the tracepoints file from the include directory

Message ID 20180329170633.28680-4-nayan26deshmukh@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Nayan Deshmukh March 29, 2018, 5:06 p.m. UTC
Move it with the scheduler code. This is mostly a straight forward
rename with no code change except for updating the TRACE_INCLUDE_PATH

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Suggested-by: Christian König <christian.koenig@amd.com>
---
 drivers/gpu/drm/scheduler/gpu_scheduler.c                        | 2 +-
 {include/drm => drivers/gpu/drm/scheduler}/gpu_scheduler_trace.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename {include/drm => drivers/gpu/drm/scheduler}/gpu_scheduler_trace.h (97%)

Comments

Lucas Stach March 29, 2018, 7:57 p.m. UTC | #1
Am Donnerstag, den 29.03.2018, 22:36 +0530 schrieb Nayan Deshmukh:
> Move it with the scheduler code. This is mostly a straight forward
> rename with no code change except for updating the TRACE_INCLUDE_PATH
> 
> Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
> Suggested-by: Christian König <christian.koenig@amd.com>

Acked-by: Lucas Stach <l.stach@pengutronix.de>

> ---
>  drivers/gpu/drm/scheduler/gpu_scheduler.c                        | 2 +-
>  {include/drm => drivers/gpu/drm/scheduler}/gpu_scheduler_trace.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>  rename {include/drm => drivers/gpu/drm/scheduler}/gpu_scheduler_trace.h (97%)
> 
> diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c
> index 565b7348db80..698531ed6a43 100644
> --- a/drivers/gpu/drm/scheduler/gpu_scheduler.c
> +++ b/drivers/gpu/drm/scheduler/gpu_scheduler.c
> @@ -30,7 +30,7 @@
>  #include <drm/spsc_queue.h>
>  
>  #define CREATE_TRACE_POINTS
> -#include <drm/gpu_scheduler_trace.h>
> +#include "gpu_scheduler_trace.h"
>  
>  #define to_drm_sched_job(sched_job)		\
>  		container_of((sched_job), struct drm_sched_job, queue_node)
> diff --git a/include/drm/gpu_scheduler_trace.h b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
> similarity index 97%
> rename from include/drm/gpu_scheduler_trace.h
> rename to drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
> index 0789e8d0a0e1..4998ad950a48 100644
> --- a/include/drm/gpu_scheduler_trace.h
> +++ b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
> @@ -78,5 +78,5 @@ TRACE_EVENT(drm_sched_process_job,
>  
>  /* This part must be outside protection */
>  #undef TRACE_INCLUDE_PATH
> -#define TRACE_INCLUDE_PATH .
> +#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/scheduler
>  #include <trace/define_trace.h>
diff mbox

Patch

diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c
index 565b7348db80..698531ed6a43 100644
--- a/drivers/gpu/drm/scheduler/gpu_scheduler.c
+++ b/drivers/gpu/drm/scheduler/gpu_scheduler.c
@@ -30,7 +30,7 @@ 
 #include <drm/spsc_queue.h>
 
 #define CREATE_TRACE_POINTS
-#include <drm/gpu_scheduler_trace.h>
+#include "gpu_scheduler_trace.h"
 
 #define to_drm_sched_job(sched_job)		\
 		container_of((sched_job), struct drm_sched_job, queue_node)
diff --git a/include/drm/gpu_scheduler_trace.h b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
similarity index 97%
rename from include/drm/gpu_scheduler_trace.h
rename to drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
index 0789e8d0a0e1..4998ad950a48 100644
--- a/include/drm/gpu_scheduler_trace.h
+++ b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
@@ -78,5 +78,5 @@  TRACE_EVENT(drm_sched_process_job,
 
 /* This part must be outside protection */
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/scheduler
 #include <trace/define_trace.h>