[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180215204118.GF23714@codeaurora.org>
Date: Thu, 15 Feb 2018 20:41:18 +0000
From: Lina Iyer <ilina@...eaurora.org>
To: andy.gross@...aro.org, david.brown@...aro.org,
linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org
Cc: rnayak@...eaurora.org, bjorn.andersson@...aro.org,
linux-kernel@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH v2 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in
FTRACE
Hi Steve,
On Thu, Feb 15 2018 at 17:35 +0000, Lina Iyer wrote:
>Log sent RPMH requests and interrupt responses in FTRACE.
>
>Cc: Steven Rostedt <rostedt@...dmis.org>
>Signed-off-by: Lina Iyer <ilina@...eaurora.org>
>---
> drivers/soc/qcom/Makefile | 1 +
> drivers/soc/qcom/rpmh-rsc.c | 6 +++
> drivers/soc/qcom/trace-rpmh.h | 89 +++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 96 insertions(+)
> create mode 100644 drivers/soc/qcom/trace-rpmh.h
>
>diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile
>index 7426979ea9fb..094b639ece2f 100644
>--- 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..
...
>+#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
Powered by blists - more mailing lists