lkml.org 
[lkml]   [2018]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH v2 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE
On Thu, 15 Feb 2018 20:41:18 +0000
Lina Iyer <ilina@codeaurora.org> wrote:


> >--- a/drivers/soc/qcom/Makefile
> >+++ b/drivers/soc/qcom/Makefile
> >@@ -1,4 +1,5 @@
> > # SPDX-License-Identifier: GPL-2.0
> >+CFLAGS_trace-rpmh.o := -I$(src)
> I did this here..

Needs to be:

CFLAGS_rpmh-rsc.o

You need to use the C file that has the CREATE_TRACE_POINTS define.
-- Steve

>
> ...
>
> >+#undef TRACE_INCLUDE_PATH
> >+#define TRACE_INCLUDE_PATH ../../drivers/soc/qcom
> >+
> Yet, I had to define the whole path here for it to compile. Per comments
> I should just need to do this -
>
> #define TRACE_INCLUDE_PATH .
>
> But it doesn't work. What am I missing?
>
> >+#undef TRACE_INCLUDE_FILE
> >+#define TRACE_INCLUDE_FILE trace-rpmh
> >+
> >+#include <trace/define_trace.h>
> >--
>
> Thanks,
> Lina

\
 
 \ /
  Last update: 2018-02-15 21:52    [W:0.060 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site