diff options
author | Stefan Raspl <stefan.raspl@de.ibm.com> | 2017-12-11 14:25:23 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-12-14 11:25:44 +0300 |
commit | fff8c9eb48aa58259071b5df0e6d4c1c0bc1ba51 (patch) | |
tree | 019cb2507b30b417d9b50dfa3a21aa0547cee834 /init/init_task.c | |
parent | b74faa930deb2e37ed5caa0abfc687c8c532e946 (diff) | |
download | linux-fff8c9eb48aa58259071b5df0e6d4c1c0bc1ba51.tar.xz |
tools/kvm_stat: fix child trace events accounting
Child trace events were included in calculation of the overall total,
which is used for calculation of the percentages of the '%Total' column.
However, the parent trace envents' stats summarize the child trace
events, hence we'd incorrectly account for them twice, leading to
slightly wrong stats.
With this fix, we use the correct total. Consequently, the sum of the
child trace events' '%Total' column values is identical to the
respective value of the respective parent event. However, this also
means that the sum of the '%Total' column values will aggregate to more
than 100 percent.
Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions