diff options
-rw-r--r-- | tools/perf/ui/hist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index 8ca638754acc..498adb23c02e 100644 --- a/tools/perf/ui/hist.c +++ b/tools/perf/ui/hist.c | |||
@@ -513,6 +513,9 @@ void perf_hpp__column_disable(unsigned col) | |||
513 | 513 | ||
514 | void perf_hpp__cancel_cumulate(void) | 514 | void perf_hpp__cancel_cumulate(void) |
515 | { | 515 | { |
516 | if (field_order) | ||
517 | return; | ||
518 | |||
516 | perf_hpp__column_disable(PERF_HPP__OVERHEAD_ACC); | 519 | perf_hpp__column_disable(PERF_HPP__OVERHEAD_ACC); |
517 | perf_hpp__format[PERF_HPP__OVERHEAD].header = hpp__header_overhead; | 520 | perf_hpp__format[PERF_HPP__OVERHEAD].header = hpp__header_overhead; |
518 | } | 521 | } |