diff options
Diffstat (limited to 'tools/perf/ui/hist.c')
-rw-r--r-- | tools/perf/ui/hist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index 75eb6ac821f8..2af18376b077 100644 --- a/tools/perf/ui/hist.c +++ b/tools/perf/ui/hist.c | |||
@@ -452,7 +452,7 @@ void perf_hpp__init(void) | |||
452 | /* | 452 | /* |
453 | * If user specified field order, no need to setup default fields. | 453 | * If user specified field order, no need to setup default fields. |
454 | */ | 454 | */ |
455 | if (field_order) | 455 | if (is_strict_order(field_order)) |
456 | return; | 456 | return; |
457 | 457 | ||
458 | if (symbol_conf.cumulate_callchain) { | 458 | if (symbol_conf.cumulate_callchain) { |
@@ -519,7 +519,7 @@ void perf_hpp__column_disable(unsigned col) | |||
519 | 519 | ||
520 | void perf_hpp__cancel_cumulate(void) | 520 | void perf_hpp__cancel_cumulate(void) |
521 | { | 521 | { |
522 | if (field_order) | 522 | if (is_strict_order(field_order)) |
523 | return; | 523 | return; |
524 | 524 | ||
525 | perf_hpp__column_disable(PERF_HPP__OVERHEAD_ACC); | 525 | perf_hpp__column_disable(PERF_HPP__OVERHEAD_ACC); |