perf stat: Handle partially bad results with merging
authorAndi Kleen <ak@linux.intel.com>
Mon, 20 Mar 2017 20:17:01 +0000 (13:17 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 21 Mar 2017 19:07:00 +0000 (16:07 -0300)
commitb4229e9d4cac2295f8f04ec26acd571a391c6c37
tree45eb3027e03c82927b7412163084db6d07d7d4c9
parent430daf2dc7aff16096a137347e6fd03d4af609e9
perf stat: Handle partially bad results with merging

When any result that is being merged is bad, mark them all bad to give
consistent output in interval mode.

No before/after, because the issue was only found in theoretical review
and it is hard to reproduce

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170320201711.14142-4-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c