[PATCH v1 1/4] perf browser: Add a new 'dump' flag

2018-03-13 Thread Jin Yao
We have a new requirement to provide the TUI output option for non-interactive mode. For example, write the TUI output to stdio directly. This patch creates a new flag 'dump' in struct ui_browser. Once it's on, for the formatted buffer, we just print it on stdio. Signed-off-by: Jin Yao

[PATCH v1 1/4] perf browser: Add a new 'dump' flag

2018-03-13 Thread Jin Yao
We have a new requirement to provide the TUI output option for non-interactive mode. For example, write the TUI output to stdio directly. This patch creates a new flag 'dump' in struct ui_browser. Once it's on, for the formatted buffer, we just print it on stdio. Signed-off-by: Jin Yao ---