diff options
Diffstat (limited to 'tools/perf/ui/browser.c')
| -rw-r--r-- | tools/perf/ui/browser.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/ui/browser.c b/tools/perf/ui/browser.c index d227d74b28f8..781afe42e90e 100644 --- a/tools/perf/ui/browser.c +++ b/tools/perf/ui/browser.c @@ -1,8 +1,6 @@  // SPDX-License-Identifier: GPL-2.0 -#include "../util/util.h"  #include "../util/string2.h"  #include "../util/config.h" -#include "../perf.h"  #include "libslang.h"  #include "ui.h"  #include "util.h" @@ -347,6 +345,8 @@ static int __ui_browser__refresh(struct ui_browser *browser)  	SLsmg_fill_region(browser->y + row + browser->extra_title_lines, browser->x,  			  browser->rows - row, width, ' '); +	if (browser->nr_entries == 0 && browser->no_samples_msg) +		__ui__info_window(NULL, browser->no_samples_msg, NULL);  	return 0;  }  |