Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp313756pxa; Fri, 14 Aug 2020 05:11:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzU1pGRb+xG7jn3bftM+9E6wRUYdmj2FBj0CqawMb2BTCyr7l2d6u/HPc0PvlUbkR36fxA X-Received: by 2002:a17:906:811:: with SMTP id e17mr2183144ejd.549.1597407112409; Fri, 14 Aug 2020 05:11:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597407112; cv=none; d=google.com; s=arc-20160816; b=aWUZ+QRL4Nzz84bNsN2K+UzyLY7+TTofJtoN4djT79+g6dSgKCPcMTHAhcITR+LbP+ uUsn5rVIXKuKDtgYImqJ+gUG/UQjfobtlqmWti7EzcpyjGXrhnKwW1945Um9P3VPWDaq wTGV7AJN4+PlQFsVkH4nSakqUX8OWCckzZ8xXbgAitBsWa1OFZ37/sc7kF78zoEIbUnB ITOLTmCIfNHzFmteavbzLXAWi8kSQCMApQX3InjLHkWxTc2anO8JfALgfD1l15CUEE2p prF8e8xrwQrnZgROXTbCiydDsc63hR5Ad+FeLW944TzJRk1wfSQDP0gncOO9cSXqWhYF yAIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=I1Zowuefj/hNrPqoF56MSKwaFHoWHngI5WuKjPgnKYI=; b=KqRsPRmkFYHiZOBM7oA9RPHv2HuyK9vCc0ZFyJvCsREGpktHFTFGI1zWWuymlEQKED ok0iqdBzRiSWZR/gBwI9bwFHYRI95bYVxq6z2YnNggskWItQN8HE2qw4ICrSxFmTislT L2lgAeCzRcNZm2NxFAj6cg/KS3DVHtr6Q749YsSjYbvYX07j8Y1Wh3KlZwaOT8jetjJB GyEf3iI3n/jBqNg+exIRi38P1LSQIBUnDQ9L5jm/7Y6kcVJ/y1iL+IiCljWp3Vl6r6oD k5BN7dOlEPBAWr9Wb1IrW1Rr7z/GnfBjJiWnAeMeyULmJHyIIZf4ZNSxdjWok/oBxbeV 9t9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yEs01YSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yl26si5297806ejb.625.2020.08.14.05.11.29; Fri, 14 Aug 2020 05:11:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yEs01YSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727889AbgHNL5e (ORCPT + 99 others); Fri, 14 Aug 2020 07:57:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:36186 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbgHNL5e (ORCPT ); Fri, 14 Aug 2020 07:57:34 -0400 Received: from quaco.ghostprotocols.net (177.207.136.251.dynamic.adsl.gvt.net.br [177.207.136.251]) (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 92318207DA; Fri, 14 Aug 2020 11:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597406253; bh=wJusBf6LdcWDSYclsK9iAJ6MNgqPGSFoHcShJF0eJjk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yEs01YSKRfZiNXfLfvDweQTKEN6FYJwG+rrhR37w+XVFDZtZDcpwyM2STK8syHOL9 cZ054yGLboYkm738acYnUbeoIqiX4NYs2jzDU0lLAgm3VWPhbENxwb91URgdOwzJaZ TZkdGrU4/NUVwc/v9/KDHX28+Xtq0gegOF5X8khE= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id D39754097F; Fri, 14 Aug 2020 08:57:31 -0300 (-03) Date: Fri, 14 Aug 2020 08:57:31 -0300 From: Arnaldo Carvalho de Melo To: Changbin Du Cc: Jiri Olsa , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Steven Rostedt , linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 05/18] perf ftrace: show trace column header Message-ID: <20200814115731.GV13995@kernel.org> References: <20200808023141.14227-1-changbin.du@gmail.com> <20200808023141.14227-6-changbin.du@gmail.com> <20200814115655.GU13995@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200814115655.GU13995@kernel.org> X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Aug 14, 2020 at 08:56:55AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Sat, Aug 08, 2020 at 10:31:28AM +0800, Changbin Du escreveu: > > This makes perf-ftrace display column header before printing trace. > > > > $ sudo perf ftrace > > # tracer: function > > # > > # entries-in-buffer/entries-written: 0/0 #P:8 > > # > > # TASK-PID CPU# TIMESTAMP FUNCTION > > # | | | | | > > <...>-9246 [006] 10726.262760: mutex_unlock <-rb_simple_write > > <...>-9246 [006] 10726.262764: __fsnotify_parent <-vfs_write > > <...>-9246 [006] 10726.262765: fsnotify <-vfs_write > > <...>-9246 [006] 10726.262766: __sb_end_write <-vfs_write > > <...>-9246 [006] 10726.262767: fpregs_assert_state_consistent <-do_syscall_64 > > We have: > > # perf report -h header > > Usage: perf report [] > > --header Show data header. > --header-only Show only data header. > > # > > So perhaps we should have those as well, in the 'ftrace' case one would > perhaps want to use --no-header, for instance, to do some scripting > parsing just the trace lines. This as well can be done after I process this series, to make progress. Applied. - Arnaldo