Re: [PATCH] perf trace: Simplify '--summary' output

From: Ingo Molnar
Date: Tue Nov 12 2013 - 16:40:59 EST



* David Ahern <dsahern@xxxxxxxxx> wrote:

> On 11/12/13, 2:33 PM, Ingo Molnar wrote:
> >>> Summary of events:
> >>>
> >>> dbus-daemon (555), 10 events, 0.0%, 0.000 msec
> >>>
> >>> msec/call
> >>> syscall calls min avg max stddev
> >>> --------------- -------- -------- -------- -------- ------
> >>> sendmsg 2 0.002 0.005 0.008 55.00
> >>> recvmsg 2 0.002 0.003 0.005 44.00
> >>> epoll_wait 1 0.000 0.000 0.000 0.00
> >In what units is stddev? Percentage? If yes then it might be useful to
> >output it as %. [and probably to restrict precision to a single digit,
> >standard deviations are rarely more accurate than 0.1%.]
> >
>
> %. That was dropped in the recent output change.

So if you prefer unit-less lines that's defensible, perhaps output the
unit somewhere else:

syscall calls min avg max stddev
(msec) (msec) (msec) (%)
--------------- -------- -------- -------- -------- ------
sendmsg 2 0.002 0.005 0.008 55.00
recvmsg 2 0.002 0.003 0.005 44.00
epoll_wait 1 0.000 0.000 0.000 0.00

or so?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/