]> git.baikalelectronics.ru Git - kernel.git/commit
perf top: Move lost events warning to helpline
authorJiri Olsa <jolsa@kernel.org>
Mon, 5 Nov 2018 20:34:47 +0000 (21:34 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 17:57:45 +0000 (14:57 -0300)
commitd1bc836e56299c98ca4dccd2ef7c6be2e500f9fb
treec12471f8e44f339d4563d462f2948709e55a579e
parentf951c995c864fe1b3257c039feff29b6c04658ec
perf top: Move lost events warning to helpline

We can't display the UI box saying that we are slow in the reader
thread.  That will make 'perf top' even slower and the user even more
angry ;-)

Move the UI box message from the reader thread to the UI thread and
change it to a helpline, so there's no need to 'press any key'.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/n/tip-x4k0iuw7tt6mywsaguq6jfwu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c