Re: [PATCH] Add gpu memory tracepoints

From: Steven Rostedt
Date: Wed Feb 12 2020 - 14:37:55 EST


On Wed, 12 Feb 2020 11:26:08 -0800
Yiwei Zhang <zzyiwei@xxxxxxxxxx> wrote:

> Hi Steven,
>
> I can move the stuff out from the kernel/trace. Then can we still
> leave include/trace/events/gpu_mem.h where it is right now? Or do we
> have to move that out as well? Because we would need a non-drm common
> header place for the tracepoint so that downstream drivers can find
> the tracepoint definition.
>

You can leave the header there. The include/trace/events/ is the place
to put trace event headers for common code.

It just did not belong in kernel/trace/

Thanks!

-- Steve