Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp599140rdh; Wed, 7 Feb 2024 14:13:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU5VEWC3D+S2UqVs654FdBvJYSem8rgLEkhzD8tAiTtfhbC7Pzbf+c1G7hNRXL3TfdLm2g0E+TV1rKCMW0tGRpezCS01zyMJr/ZPsZzRw== X-Google-Smtp-Source: AGHT+IG+DzYTMDrFwGAhJ87HT0r4twR1AA88Zl2OSokaOWnvqPXFNfQ4xkzEghGDX+e6tY4d1P1U X-Received: by 2002:a05:6808:f90:b0:3bf:f222:8070 with SMTP id o16-20020a0568080f9000b003bff2228070mr1162124oiw.0.1707343997206; Wed, 07 Feb 2024 14:13:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707343997; cv=pass; d=google.com; s=arc-20160816; b=DwTFIOiezSgkFYAWHbL2Ic8OuSgY2VQmIvRhwSruZdTGdEly5TLBgv9sUGOwqA4Zd7 3kej9JM4PJK58TlR4NDhjBxDuFA9C16hIyNzq/xzUBgD3FrFMujhiNI0NYHEz65b1ecH 2z9sZbK/G7YYZg3P7WgyR07UM0OXzdKCv1tOYghwg/vaEBlwaI9x1p1wsNFSwwDMALqr ojUpUYkfz6jwuIDkhEt4BEW+hXnlPDwXZnCqWimiX8ECoagR01KcxVkAYmpjRPhdBI5I a2YJpnSZvWi+Imff5cxiD8jTPeUdhjL6qKkvkCx6PH+gcOe5W0JuFLbwbOl/D8Og+DIJ cG4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=u5P1wmj40D4QrrQ2HcuDVbIQt31FrK8+TQLjz51eQEc=; fh=lzZvnAT57vR0osqtLxipKSHSO8Qc5dhDLUiPttEI2GU=; b=bGLEksH2oDN/DiTWiusn1iYPMUaNxqndufUN68TKecVf6tQMWtGQMWjidXHSbHqzSw 9JaZvO5CzuCNJBCPT8qeLel1hbWoEasJfFzX4HYnKPaM4Bq/sZIXEDzeGLa6zI1HK/ds CD11EyT56pYIIshrqiJHWRCFs5xVn2OaBErXjcMJOv+dT87tkr3EcKKAl94fxVgdneUB PGO7dQhQyu6lWwvO1yGI/LpG2FMIsv2iShqm3IbwyDSim/kGeohF5n2EXCNqN3ezEHhF lUFOGLzhbOVF/ctUnrbycD7v2CtjKa2wbQOyuRUSTypoAT2ldslSd4+QhxhHtejgmAms PT2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rxgm98ni; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-57242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57242-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWShPQL2KhsDIHDqDt7dqmVKO9iOVmzRwtkVWl+O1V7PRCQJ1/HbcE61lJY5yOS9JxkVFxUKdD6AF3/lUYa4HrW/yJLXcumsx1ygw3cgw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jd17-20020a05622a719100b0042c41b11b1asi2077695qtb.695.2024.02.07.14.13.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 14:13:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rxgm98ni; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-57242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57242-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E04401C25ABB for ; Wed, 7 Feb 2024 22:13:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BD3513A86D; Wed, 7 Feb 2024 21:48:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rxgm98ni" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1526713A267; Wed, 7 Feb 2024 21:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707342505; cv=none; b=KO0FHf+RobKQlK67Q6VT/oeXHftafM8XlBTO/S2zf+cFYEbwrEG9apDf5N1L/gx7HSojIQRJG6VxVo2flCXozws2uC1VzyOXkKbCM4aEawTRFgu3o5a8FCVHIlUDJCFtx0AuYTrklrXiQQ4mYn/s1om9JosotolEEsu87CR6D7Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707342505; c=relaxed/simple; bh=cQc83WQNS4DBqYu+rWS1YbdONY3oCSTty9XL4pzc+/s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=alEGqvK7FjYwVPIIJOhHNRnSHhLU+TftsKFyBJ19Qb5iSPdP2uVxGrEOBhGC47PnHXp1jFOcwgOFMH3yGrorKFLY0rJNZvIAfxaXcbuxMtUaStqMcFRBOjJz1mG9ts3GaxUtY5AVHMS9Aa+5pD2GD9mSmIDRgTi0aLGqWScRsIs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rxgm98ni; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 344D1C433C7; Wed, 7 Feb 2024 21:48:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707342503; bh=cQc83WQNS4DBqYu+rWS1YbdONY3oCSTty9XL4pzc+/s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rxgm98niMP3JsDJIOeAYW6nUdaWM2MfJOihD6GEQKVUFOI84U8YGpLrxuZLyb/1H2 gxJOHsMjuOG0SxmSAqXTy805Irmf/1uqEnaCGkVe6LESVKwVfDhSpihk4cqoxCNwDg gmN5qlT7WqOLGlfjTFdTksXkzqgLpQXjE7+ob1CUnHCiwivrr8YNrtkXOX5i+wMsks +T4FxxroqtBgJDq/bbwnyKbDJEg9hhlzgsRQfyAOzy4T5iK3BY7Co2KPuBv0TJLObf VITsdpFoZv/7w+f9xHjmHAPpphz79yf/S0UZVCiHLp3lWgGdXJRkgHw10L+5MYXeY0 rx07r4T6P8rSg== From: Namhyung Kim To: Namhyung Kim , Arnaldo Carvalho de Melo , Jiri Olsa Cc: Peter Zijlstra , linux-perf-users@vger.kernel.org, Adrian Hunter , Ian Rogers , Ingo Molnar , LKML Subject: Re: [PATCH] perf record: Display data size on pipe mode Date: Wed, 7 Feb 2024 13:48:21 -0800 Message-ID: <170734243427.3472515.6384154144082025700.b4-ty@kernel.org> X-Mailer: git-send-email 2.43.0.594.gd9cf4e227d-goog In-Reply-To: <20240112231340.779469-1-namhyung@kernel.org> References: <20240112231340.779469-1-namhyung@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Fri, 12 Jan 2024 15:13:40 -0800, Namhyung Kim wrote: > Currently pipe mode doesn't set the file size and it results in a > misleading message of 0 data size at the end. Although it might miss > some accounting for pipe header or more, just displaying the data size > would reduce the possible confusion. > > Before: > $ perf record -o- perf test -w noploop | perf report -i- -q --percent-limit=1 > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.000 MB - ] <====== (here) > 99.58% perf perf [.] noploop > > [...] Applied to perf-tools-next, thanks! Best regards, -- Namhyung Kim