Messages in this thread | | | From | Namhyung Kim <> | Date | Mon, 26 Apr 2021 03:07:34 +0900 | Subject | Re: [PATCHSET 0/5] perf report: Make --stat output more compact |
| |
On Sat, Apr 24, 2021 at 5:20 AM Andi Kleen <ak@linux.intel.com> 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 <ak@linux.intel.com> 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%) ...
| |