Received: by 10.223.185.111 with SMTP id b44csp879709wrg; Fri, 9 Mar 2018 15:53:44 -0800 (PST) X-Google-Smtp-Source: AG47ELutwJD+NFAZR1vP2/794PMXrF4+sam+gDQwDNRTuwWbXzEtGi1kuSvrsOfkP2wAgWeM0Gpi X-Received: by 2002:a17:902:983:: with SMTP id 3-v6mr259448pln.278.1520639624453; Fri, 09 Mar 2018 15:53:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520639624; cv=none; d=google.com; s=arc-20160816; b=tEhPQM4Im2mfy5qwuRXboo0WhKDWd7O4eAwtlP2cHYe/CbnrNvrgg9LzBGkJ31FtWJ IhemPFClA0gpUeP6CMn6bqBQgnoMM4NxsdM4H8+rg295ZAs7QkTSpli7dAhxYANpiPkR GJ6l4UM55gfYwfPlNeIyfyIKd8kq2z8MlGSkqI5AcRK7bE2TpA3oQ7gCYa7jSLZZluSU Os5Lkdw3du2SFZfHFWwy+kapdRg9TimvbnOLSELbGL4ZR62fmbjDt7kYRHgL4EvOOW6d YbpfwhCyUWhCxC1CyVKGo7SXeRq8xszKNyT1B2PvPDjA8AkLh+yrpLjClASlUAK6lTNc Ndng== 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=vgp+SVf4SOR0jAQ5huO4O0c0dmjgKvDQHqaV7NUNQws=; b=E03DC6ZatJEzH8VJlk3xu3CuVTV3BVmXhlYS7EwcCaS2JHZGfkZxMUwMQzU+uAbShL KH0woOtlFrXnQfDHLt5nIRVK+kunZefSJkECIzEeepp5W8ugdUruSbtDRReCGclKOvK3 XhmvbFsbXcj73zsr4+GQM4FNshx/KjkuOyr2dnxv0wDLMmO4aYwdth6cHHa6aoK5cgaP F8WZzrJ+t2kwxorxVTHYDlsZvPm4PHlUPCA+YYCM+l75tblB7i027M0emCfELs8sKD3m TvbRX0DSY8mTiajVwaifrcL+YJJkMV1AlDR9p3LaO9fcbjz4I7qVnTjCk/eBc3vdVdms RT/A== 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 d62si1448836pga.631.2018.03.09.15.53.29; Fri, 09 Mar 2018 15:53:44 -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 S932628AbeCIXw2 (ORCPT + 99 others); Fri, 9 Mar 2018 18:52:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:34820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932206AbeCIXw0 (ORCPT ); Fri, 9 Mar 2018 18:52:26 -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 3318F208FE; Fri, 9 Mar 2018 23:52:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3318F208FE 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: Fri, 9 Mar 2018 18:52:23 -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, sboyd@kernel.org Subject: Re: [PATCH v4 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE Message-ID: <20180309185223.19aa6c84@gandalf.local.home> In-Reply-To: <20180309232543.24636-4-ilina@codeaurora.org> References: <20180309232543.24636-1-ilina@codeaurora.org> <20180309232543.24636-4-ilina@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 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. Reviewed-by: Steven Rostedt (VMware) -- Steve > Changes in v3: > - Use __string() instead of char * > - fix TRACE_INCLUDE_PATH > ---