diff options
-rw-r--r-- | tools/perf/ui/hist.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index 25d608394d74..5029ba2b55af 100644 --- a/tools/perf/ui/hist.c +++ b/tools/perf/ui/hist.c | |||
@@ -463,27 +463,27 @@ void perf_hpp__init(void) | |||
463 | return; | 463 | return; |
464 | 464 | ||
465 | if (symbol_conf.cumulate_callchain) { | 465 | if (symbol_conf.cumulate_callchain) { |
466 | perf_hpp__column_enable(PERF_HPP__OVERHEAD_ACC); | 466 | hpp_dimension__add_output(PERF_HPP__OVERHEAD_ACC); |
467 | perf_hpp__format[PERF_HPP__OVERHEAD].name = "Self"; | 467 | perf_hpp__format[PERF_HPP__OVERHEAD].name = "Self"; |
468 | } | 468 | } |
469 | 469 | ||
470 | perf_hpp__column_enable(PERF_HPP__OVERHEAD); | 470 | hpp_dimension__add_output(PERF_HPP__OVERHEAD); |
471 | 471 | ||
472 | if (symbol_conf.show_cpu_utilization) { | 472 | if (symbol_conf.show_cpu_utilization) { |
473 | perf_hpp__column_enable(PERF_HPP__OVERHEAD_SYS); | 473 | hpp_dimension__add_output(PERF_HPP__OVERHEAD_SYS); |
474 | perf_hpp__column_enable(PERF_HPP__OVERHEAD_US); | 474 | hpp_dimension__add_output(PERF_HPP__OVERHEAD_US); |
475 | 475 | ||
476 | if (perf_guest) { | 476 | if (perf_guest) { |
477 | perf_hpp__column_enable(PERF_HPP__OVERHEAD_GUEST_SYS); | 477 | hpp_dimension__add_output(PERF_HPP__OVERHEAD_GUEST_SYS); |
478 | perf_hpp__column_enable(PERF_HPP__OVERHEAD_GUEST_US); | 478 | hpp_dimension__add_output(PERF_HPP__OVERHEAD_GUEST_US); |
479 | } | 479 | } |
480 | } | 480 | } |
481 | 481 | ||
482 | if (symbol_conf.show_nr_samples) | 482 | if (symbol_conf.show_nr_samples) |
483 | perf_hpp__column_enable(PERF_HPP__SAMPLES); | 483 | hpp_dimension__add_output(PERF_HPP__SAMPLES); |
484 | 484 | ||
485 | if (symbol_conf.show_total_period) | 485 | if (symbol_conf.show_total_period) |
486 | perf_hpp__column_enable(PERF_HPP__PERIOD); | 486 | hpp_dimension__add_output(PERF_HPP__PERIOD); |
487 | 487 | ||
488 | /* prepend overhead field for backward compatiblity. */ | 488 | /* prepend overhead field for backward compatiblity. */ |
489 | list = &perf_hpp__format[PERF_HPP__OVERHEAD].sort_list; | 489 | list = &perf_hpp__format[PERF_HPP__OVERHEAD].sort_list; |