Received: by 10.223.185.111 with SMTP id b44csp1071945wrg; Fri, 9 Mar 2018 20:53:48 -0800 (PST) X-Google-Smtp-Source: AG47ELvYLnLkNaDidsQ61iKeYwubgaepTmKEgXx7oKraX+IDUfVsd9A/MsVE3nb8t9RhAiXzVMMG X-Received: by 10.99.149.15 with SMTP id p15mr801226pgd.154.1520657628303; Fri, 09 Mar 2018 20:53:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520657628; cv=none; d=google.com; s=arc-20160816; b=S8lpYJ2zbTeZtkIvmRuz1IdB0FowuXW33am32xZwD7CDIJpBMQkgwXP70w1YBhF67X FNwpV/o7AUJExNVgioGP8JKZsMUKyYRF0KQBjgAU0r47E+BB6WcgTaKVU9EHPQwoDVYu 8o8ZMn/+cQcS3TVmX3nsU4hn00kj0ChdAxJ0to6Am99QRRX4mjeYugNWgOLtZyfu+YJx YyrFfL1WgO9QoEIq10AtCXWDr0DEsudyIp3ybALlSRVeI6zOA/S9X+B+wCo4wSWLDZeD HNQftU1kAipBdu6UTK+/c2gq3YPZvPW4LypdD3KjQUs78090xqtVTbfjc3OWiy5kHCGK /mEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=/FTwjTEyuTFyFvLwojl4rv+Zs/QqSJIdr/r6O8Q+wRc=; b=aoRy4n/pmgsOpszM0egqtNx/lsKhIzCO6kYN9WXTqIhpC+ptAfXU27Voxsyf2rLmCq lq0GiRDR0wILcEN8iJ+5TsTGGKM14Pa9/no3ahXgxgLPhnpbNDSu8xqsGzUYAAs4K2DQ bpPXzata6CkpLv47E1Euo2HM5BF18r2iLC/rBAj5VouCoEmoJR0w6H7jbclruzht+IXF 8WcGAQPLrAODWwU4o3toACx4RPs2I8vKzsW2xzwJWjM8xAuYjwg9LX3abMrk6s0qWHZZ mzp/XD0d4sgumLMxZ2/659JSTOlAY/N3I1nxdccfN2w5VjeACK7hHVID8lLO+iKleNbv h5wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ieG5UeMW; dkim=pass header.i=@codeaurora.org header.s=default header.b=eKvCviVV; 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 e9si1814682pgt.533.2018.03.09.20.53.21; Fri, 09 Mar 2018 20:53:48 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=ieG5UeMW; dkim=pass header.i=@codeaurora.org header.s=default header.b=eKvCviVV; 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 S932977AbeCJErg (ORCPT + 99 others); Fri, 9 Mar 2018 23:47:36 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:48226 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932343AbeCJErf (ORCPT ); Fri, 9 Mar 2018 23:47:35 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7708B602A0; Sat, 10 Mar 2018 04:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1520657254; bh=ArW53lIwec/oJm/8yVe+7oZBOPwXy/mHDNIISjgkNlo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ieG5UeMWiGdP9/PPoK9HNP8zaKT0MVLa3Pm2TijBknKtHoxp2nhihO7oiU3VJip+D MJyChdZjruBx8vpO/y/BzzmCV2glNlsuKcm97vtfcZKeIEqcnYCJRBiJIjCClNQb1h RR/Rb79RpzU+yxXouUvlNnhPyFFJSvmgs5iClWiQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ilina@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 64DFD602A0; Sat, 10 Mar 2018 04:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1520657253; bh=ArW53lIwec/oJm/8yVe+7oZBOPwXy/mHDNIISjgkNlo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eKvCviVVYWAodnhmgssXd3HZTQfac2/fzY5RcAvUvocX+tGmNunlzITjb4OwCQqFS WFEaY0w89wVbdcdAKVTGw/pR5nXp4KFp8KWJoDF2WfbGz3t0Rk2Wi6AMEkaoryCO2w YIUvBt2sQdFIVwGkBRBA+J5tqSdKYzbHsEpFZu1w= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 64DFD602A0 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=ilina@codeaurora.org Date: Fri, 9 Mar 2018 21:47:32 -0700 From: Lina Iyer To: Steven Rostedt 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, sboyd@kernel.org Subject: Re: [PATCH v4 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE Message-ID: <20180310044732.GB2806@codeaurora.org> References: <20180309232543.24636-1-ilina@codeaurora.org> <20180309232543.24636-4-ilina@codeaurora.org> <20180309185223.19aa6c84@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20180309185223.19aa6c84@gandalf.local.home> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 09 2018 at 16:52 -0700, Steven Rostedt wrote: >On Fri, 9 Mar 2018 16:25:36 -0700 >Lina Iyer wrote: > >> Log sent RPMH requests and interrupt responses in FTRACE. >> >> Cc: Steven Rostedt >> Signed-off-by: Lina Iyer >> --- >> >> Changes in v4: >> - fix compilation issues, use __assign_str >> - use %#x instead of 0x%08x > >Hmm, I don't believe libtraceevent (used by trace-cmd and perf) >supports "%#x". But that needs to be fixed in libtraceevent and you >don't need to modify this patch. > >+ __field(bool, wait) > >Usually I would recommend against 'bool' in structures, but it >shouldn't affect the tracing code. Might want to look at how it >converts it in the /sys/kernel/tracing/events/rpmh/rpmh_send_msg/format >file. It probably makes no difference if it was an int. > >Other than that... Looks good. field:bool wait; offset:32; size:1; signed:0; -- Lina > >Reviewed-by: Steven Rostedt (VMware) > >-- Steve > > >> Changes in v3: >> - Use __string() instead of char * >> - fix TRACE_INCLUDE_PATH >> ---