From c27274837e31a6bf755df45d6fa1ed5351a8eef4 Mon Sep 17 00:00:00 2001 From: colramos425 Date: Mon, 16 Jan 2023 11:33:15 -0600 Subject: [PATCH] Hide kernel section in CLI output Signed-off-by: colramos425 --- src/omniperf_analyze/utils/tty.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/omniperf_analyze/utils/tty.py b/src/omniperf_analyze/utils/tty.py index dd73646333..9f6ed2e400 100644 --- a/src/omniperf_analyze/utils/tty.py +++ b/src/omniperf_analyze/utils/tty.py @@ -26,6 +26,7 @@ from tabulate import tabulate from omniperf_analyze.utils import schema, parser hidden_columns = ["Tips", "coll_level"] +hidden_sections = [1900, 2000] def string_multiple_lines(source, width, max_rows): @@ -52,7 +53,7 @@ def show_all(runs, archConfigs, output, decimal, time_unit, selected_cols, verbo for panel_id, panel in archConfigs.panel_configs.items(): # Skip panels that don't support baseline comparison - if panel_id == 1900: + if panel_id in hidden_sections: continue ss = "" # store content of all data_source from one pannel