Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3017039pxy; Sun, 25 Apr 2021 11:09:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/uyFtpXpyDhbSCX5moXYgOMzq9Ylo9qGe7h6Muq8R5OXsPmHnRjE5Jw6myTwf8RPlzpsJ X-Received: by 2002:a17:906:c058:: with SMTP id bm24mr14759308ejb.335.1619374151051; Sun, 25 Apr 2021 11:09:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619374151; cv=none; d=google.com; s=arc-20160816; b=zoehaoSJtEdeYrFCr7RcQCVEoWlZSogh88lpWQERM/5gcsFRRVkLXkNX+D/B6fMifz N0r95QiYnwGf/kJvQ1iwM/ASJg2/ab/IHwdTdSipTMIj3T4K5gTKuo/mEJ1kU4U9I4TY I8Gijho0n+0hmmKQi8/+8DY3hyEeKIZA0PC78WL7TKe4xwIDQOFEsW21vikRcijS8adW Pjpl9iIUlcUbbCz9Ho9PFOx81foKVAGm/8klsK6nLB7bTd5SGLLvog4HCcbuCgZbuFgr HoUYPJKdaFPhY5SfOR7foPPLF6USMsirJv7yQhLqRwOpsphADzUTNKp38eZoihYoKcut dxrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=iyW3k8OZ0JjKYF5czynTNPixqOW62r5lvj8I3d5bjl8=; b=st8rJh0HafVrjAjM/ngFy2uPM0EgHQi9bNkZxAJ6K2hg7Oo0QPwc8yyztLAmGalAsZ b1lXijlsWmYWFAOZsXRtE0+KYPrse2HN5UYE1XK6uKnXXYuWw42ifr7jWzBc8R3mOCh5 zqxbm5mOIgyyrzGhUD2O2f9H6JBUWnTKK7yNFDLMl3F4zJjO4V/1vjrWtFXKsqhKArrV GQNoZW3gtpdTEiLN4lE9fiPRjsU2Za4IxNAPC8jNNScftxJrQtE6tnwSC14+aYZ+ltqr 2vi9j9l/33+UTV9HXmTd38j/wUM126qGkejNzwP3F/KzXVyTd77jt09tcVLuXOeog29V 1lWg== ARC-Authentication-Results: i=1; mx.google.com; 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 m25si1297149edr.235.2021.04.25.11.08.47; Sun, 25 Apr 2021 11:09:11 -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; 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 S231226AbhDYSIa (ORCPT + 99 others); Sun, 25 Apr 2021 14:08:30 -0400 Received: from mail-lj1-f172.google.com ([209.85.208.172]:38901 "EHLO mail-lj1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbhDYSI1 (ORCPT ); Sun, 25 Apr 2021 14:08:27 -0400 Received: by mail-lj1-f172.google.com with SMTP id b38so20254150ljf.5 for ; Sun, 25 Apr 2021 11:07:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iyW3k8OZ0JjKYF5czynTNPixqOW62r5lvj8I3d5bjl8=; b=L3xQ924trW1w5oQAmLDCIlYxSDlQFRdJdPnOtppyoNsOa0L0nohwoXDqM9XWrQqprY cjXFLmMy+BjlJNUe0HdlRyE0Lya/TfVegxmPs12Pj7N3oPCaKVEKDRcPssrQau7vtZ8U WMMnyxSio03jFlV1ETSInZZDJ0Gkfw6chbyNgzyvZphfzDcc42A+dF+Vv6CGjzNY+zHV XaW/2BCQNiE2Ahr+U7PY50L95px/J/n5N/8GcvdWNNLn45bMNxl/2zHerbOXBQZO27/1 YHs078Q4/TmEG18exTy8wfYyvlmEiG4a3q5/tyP8zFzyHqHnKJD8761exjaz4gFuIYdP fcQQ== X-Gm-Message-State: AOAM530gdipqSrFw/2yJUpKBu9ytptvzCWqMUBoInq9uiJH0Hi79cGQg YSUNch1nMUVQAPy5ArGazjm9A57vvD4bBaA0GRE= X-Received: by 2002:a2e:9c07:: with SMTP id s7mr9935817lji.26.1619374065435; Sun, 25 Apr 2021 11:07:45 -0700 (PDT) MIME-Version: 1.0 References: <20210423182813.1472902-1-namhyung@kernel.org> <20210423184647.GN1401198@tassilo.jf.intel.com> <20210423202024.GO1401198@tassilo.jf.intel.com> In-Reply-To: <20210423202024.GO1401198@tassilo.jf.intel.com> From: Namhyung Kim Date: Mon, 26 Apr 2021 03:07:34 +0900 Message-ID: Subject: Re: [PATCHSET 0/5] perf report: Make --stat output more compact To: Andi Kleen Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Ingo Molnar , Peter Zijlstra , Mark Rutland , Alexander Shishkin , LKML , Ian Rogers Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 24, 2021 at 5:20 AM Andi Kleen wrote: > > On Sat, Apr 24, 2021 at 04:00:55AM +0900, Namhyung Kim wrote: > > Hi Andi, > > > > On Sat, Apr 24, 2021 at 3:46 AM Andi Kleen wrote: > > > > > > > So I added --skip-empty (and --no-skip-empty automatically) to suppres > > > > the 0 output and add the event stats like below. > > > > > > I doubt we need the option for this. > > > > > > But if you change it I would add the percentages after the absolute values. > > > > What kind of percentages are you talking about? > > The percentage of that value to the total sum of all the counts. Hmm.. do you want something like this? TOTAL events: 20064 MMAP events: 239 ( 1.2%) COMM events: 1518 ( 7.6%) EXIT events: 1 (0.0%) FORK events: 1517 (7.6%) SAMPLE events: 4015 (20.0%) MMAP2 events: 12769 (63.6%) ...