On Wed, Aug 23, 2017 at 10:53:39AM +0200, Thierry Reding wrote:
> On Wed, Aug 23, 2017 at 04:19:55PM +0800, Shawn Lin wrote:
> > Hi Thierry and Stephen,
> > 
> > commit 67e04d1ab19b0cc6d87ca7c44b058edf678bc3a3
> > Author: Thierry Reding <[email protected]>
> > Date:   Tue Aug 15 15:41:10 2017 +0200
> > 
> >     drm/tegra: dc: Trace register accesses
> > 
> >     Add tracepoint events for display controller register accesses.
> > 
> >     Signed-off-by: Thierry Reding <[email protected]>
> > 
> > 
> > introduce the following compile error.
> > 
> > In file included from drivers/gpu/drm/tegra/trace.h:68:0,
> >                  from drivers/gpu/drm/tegra/trace.c:2:
> > ./include/trace/define_trace.h:88:43: fatal error: ./trace.h: No such file
> > or directory
> >  #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
> 
> It looks as though this fails only for in-source builds, which is
> something I usually don't test. I'm working on a patch to fix this.

This should be fixed in today's linux-next by:

commit 702800b5d6f45b18db6b6d6b1057af6fd1c75e20
Author: Thierry Reding <[email protected]>
Date:   Wed Aug 23 19:13:26 2017 +0200

    drm/tegra: trace: Fix path to include

    The TRACE_INCLUDE_FILE macro needs to specify the path relative to the
    define_trace.h header rather than relative to the file defining it.

    Reported-by: Dmitry Osipenko <[email protected]>
    Tested-by: Dmitry Osipenko <[email protected]>
    Signed-off-by: Thierry Reding <[email protected]>

Thierry

Attachment: signature.asc
Description: PGP signature

Reply via email to