From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: Re: [PATCH v2 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE Date: Thu, 15 Feb 2018 15:51:35 -0500 Message-ID: <20180215155135.187b1501@gandalf.local.home> References: <20180215173507.10989-1-ilina@codeaurora.org> <20180215173507.10989-4-ilina@codeaurora.org> <20180215204118.GF23714@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mail.kernel.org ([198.145.29.99]:34958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1167057AbeBOUvi (ORCPT ); Thu, 15 Feb 2018 15:51:38 -0500 In-Reply-To: <20180215204118.GF23714@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Lina Iyer Cc: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, rnayak@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org On Thu, 15 Feb 2018 20:41:18 +0000 Lina Iyer 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 > >-- > > Thanks, > Lina