Received: by 10.192.165.148 with SMTP id m20csp3434511imm; Mon, 23 Apr 2018 06:35:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx48i20IWe+Fp2c2yzORQlbg6uEiUaj2C72hRcFVqeeXwNgn0SIjvoayh5PNbKuTxK1SnOfTc X-Received: by 10.98.35.11 with SMTP id j11mr10626653pfj.177.1524490527914; Mon, 23 Apr 2018 06:35:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524490527; cv=none; d=google.com; s=arc-20160816; b=Ldp4Fgheg3jP4RS1rfN5Cf9Z96C7ar7OgYbB4/GLY+skkTb7WHQN6axeBT2sEP6B1o R8pEoJMDc8QoFuyZl4xxd6OW0EH1ejtAyVP09A/UG9+6oWoDYemeEHqi6Y7I4NSP/XUJ x/Fr2DRkCI9vH7xkET+SiogYbJd+2JrrCVUaDJwWeX2bPWbb57AOwMYVe93lO1n1qcbY AxHHRsSLOQ+dZWJOgYmfQeflbl+P9ZTtI1JIX/9q0680zL8amBe5zjPt1iRDFJf6JMhR FEh/AaQrH0+ZlfNzT1JMMlvHWDoGb2J9HDBJ3sA6lXYIsC5cxm/IasA8kV/WuH4Mb870 ekyQ== 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=/0V7wzpuMwjYQVa5vekQGcjHP6La/rXIxN/t7K3JZA0=; b=X22GltWkjoWhOQIqAqaCnuI9J5mvwfgsw6TqQ2LMnpse5gn/bmcnlgAHYvQpcir9a5 fSJwwBErpv1o9GK6g5RnY3uX+uVA1j4MXTi9wE0ai3kvBy7fYgcvpbpxfzEEVbEgfyyp PYfnieaxbBO4H0upHV3Arma8BjQWycNiGjWrnMFm46XJrDsiRW3H8ZjHg82PUsByK6ey TCJKYs/wwM0TQjoezHhapeIDcCC97dvMdSRqPRk6/TdjPa4mWECfE8hueD65efB+zKdS 5yLwp1kSqnqY9Sfdt1I23aGMOduOB0n8o/TKFqpd/CNo5UHWtYs4HQO3t+2cQOTvkOxx mjuw== 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 f7si9381223pgs.556.2018.04.23.06.35.13; Mon, 23 Apr 2018 06:35:27 -0700 (PDT) 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 S1755297AbeDWNeH (ORCPT + 99 others); Mon, 23 Apr 2018 09:34:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:60476 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754894AbeDWNeF (ORCPT ); Mon, 23 Apr 2018 09:34:05 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 C849421746; Mon, 23 Apr 2018 13:34:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C849421746 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: Mon, 23 Apr 2018 09:34:01 -0400 From: Steven Rostedt To: Steffen Maier Cc: "Bean Huo (beanhuo)" , "axboe@kernel.dk" , "jejb@linux.vnet.ibm.com" , "martin.petersen@oracle.com" , "linux-block@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mingo@redhad.com" , "Bart.VanAssche@sandisk.com" , "rajatja@google.com" Subject: Re: [RESEND PATCH v1 2/2] trace: events: block: Add tag in block trace events Message-ID: <20180423093401.30839625@gandalf.local.home> In-Reply-To: References: <64d6073b28b140cda3e5870a54e0a7bc@SIWEX5A.sing.micron.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; 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 Mon, 23 Apr 2018 14:43:13 +0200 Steffen Maier wrote: > > - TP_printk("[%s] %d", __entry->comm, __entry->nr_rq) > > + TP_printk("[%s] %d %s", __entry->comm, __entry->nr_rq, > > + __entry->explicit ? "Sync" : "Async") > > ); > > > > /** > > This entire hunk does not seem related to this patch description. > Also, I'm not sure trace-cmd and perf et al. could format it accordingly. You mean the "?:" operation? trace-cmd and perf can handle it fine. Just look at the trace event irq_handler_exit: print fmt: "irq=%d ret=%s", REC->irq, REC->ret ? "handled" : "unhandled" # trace-cmd record -e irq_handler_exit # trace-cmd report -0 [001] 856960.382767: irq_handler_exit: irq=29 ret=handled -0 [001] 856961.745640: irq_handler_exit: irq=29 ret=handled -0 [001] 856961.865762: irq_handler_exit: irq=29 ret=handled -- Steve