Received: by 10.223.185.116 with SMTP id b49csp787974wrg; Fri, 16 Feb 2018 07:13:25 -0800 (PST) X-Google-Smtp-Source: AH8x226U/AA7nPu+hh+iHinv87V+jlsAnWTZ0eCT/O+b20vL5/q64dzgRMyq9I7aTMILON6aWAxr X-Received: by 2002:a17:902:12e:: with SMTP id 43-v6mr6173719plb.77.1518794005150; Fri, 16 Feb 2018 07:13:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518794005; cv=none; d=google.com; s=arc-20160816; b=FkWHb9sElGRcA71406W3rcPtVzMvvOy3OahafXlZflOYPVh/l2KifY4rh/LSiJ++ay ozz48ZmuM0g8PGEHeIianf/ExyA06GnNJIVMuTdvk/WPIfUcknompRwrN6VUbJhU5zng FFhNgZdCsC7U4WoSJhdCcbWZZxoyHJwGXURYpuir6nyg69RyW8YSaC/K95NH+oR3R0iI u/DZ4dWSlzvJiV1bX7fjep2W0XIMOTj0IJZcTFRgep0I1i3G1Mv6VhF0cqWoZMprtB5p JHterTBEp9DaP+7S58zp7XYOxQNdIlFCMaQ9+1KZWcEQocjX3jHfhyu7iMsfWfG4CEYK BKpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=/kd6hs2gZBs2pn/OkuE3lMEZtJaUhx4iycV3wxKBRQE=; b=dI69LGvXQQz0HIUL1fz5wmDkbkz7IJEwe6bRDBKYapZJy+cXfm+KJkKw6lumsDHMvZ zWDjgE6LYIi3PP9uwY9HttKRk1RTrFp3+QAHDtDybhHOiZkwKtc5NyJa8wPo+Str1z0i zyArx4WW8G9HBtAJqlkb7+1JpiefujpPWto123Qo38yVo5x/j35SKqIXa8ZvcOOHd+A5 fWImgTPkiabuaFUqw0ijEIyHloAahRfQ1DS+iC43s0bzORsXGgBuLsPqUP7Xjfd0nWg6 YLtfrvF5jDIadoH4HYqC7OfgIpCIEh92Kd99FnFxDpBYVM0Z/y9fiMmz2NpO/GIqxXGp 9sDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v66si3365pgv.667.2018.02.16.07.13.10; Fri, 16 Feb 2018 07:13:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1167159AbeBOUvk (ORCPT + 99 others); Thu, 15 Feb 2018 15:51:40 -0500 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 Received: from gandalf.local.home (cpe-172-100-180-131.stny.res.rr.com [172.100.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8622921723; Thu, 15 Feb 2018 20:51:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8622921723 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Thu, 15 Feb 2018 15:51:35 -0500 From: Steven Rostedt 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 Subject: Re: [PATCH v2 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE Message-ID: <20180215155135.187b1501@gandalf.local.home> In-Reply-To: <20180215204118.GF23714@codeaurora.org> References: <20180215173507.10989-1-ilina@codeaurora.org> <20180215173507.10989-4-ilina@codeaurora.org> <20180215204118.GF23714@codeaurora.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: 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