perf ui browser: Allow specifying message to show when no samples are available to...
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Aug 2019 19:43:58 +0000 (16:43 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Aug 2019 15:22:18 +0000 (12:22 -0300)
commit2284cf8074ff12b6304665618f81ced3aa0b41de
treec0c7e1fabfb96e7fb7de70afb0ae9162914e4d54
parent9b01611934c045ac7ca71aebf5ee1906951d6bce
perf ui browser: Allow specifying message to show when no samples are available to display

The 'perf top' tool will use that to avoid having a initial blank screen
while collecting the minimum number of samples to sort and display.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-89ciceg8cy4442he3t0jzo3f@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browser.c
tools/perf/ui/browser.h