diff options
author | David Ahern <dsahern@gmail.com> | 2013-12-04 19:41:41 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-05 10:09:58 -0300 |
commit | 3160565f0e005d2ec736ae25cf0a79988c0cbe71 (patch) | |
tree | f2164ae21d3ad54e605ca91f96e111474e5123fd /COPYING | |
parent | 9aca7f1792c5d2d5d367bbe5cfe204fe40517929 (diff) | |
download | op-kernel-dev-3160565f0e005d2ec736ae25cf0a79988c0cbe71.zip op-kernel-dev-3160565f0e005d2ec736ae25cf0a79988c0cbe71.tar.gz |
perf trace: Fix summary percentage when processing files
Getting a divide by 0 when events are processed from a file:
perf trace -i perf.data -s
...
dnsmasq (1684), 10 events, inf%, 0.000 msec
The problem is that the event count is not incremented as events are
processed. With this patch:
perf trace -i perf.data -s
...
dnsmasq (1684), 10 events, 8.9%, 0.000 msec
Signed-off-by: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1386211302-31303-4-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions