diff options
author | David Miller <davem@davemloft.net> | 2018-10-31 06:30:03 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-10-31 14:10:11 +0100 |
commit | ff27a06af6ffd3f49b9e193eb68f487ad76651e1 (patch) | |
tree | 8b1eb30e925d5df0c67101723487e16166cd406a /tools/include | |
parent | tools headers uapi: Update linux/if_link.h header copy (diff) | |
download | linux-ff27a06af6ffd3f49b9e193eb68f487ad76651e1.tar.xz linux-ff27a06af6ffd3f49b9e193eb68f487ad76651e1.zip |
perf top: Start display thread earlier
If events are coming in at a rate such that the event processing thread
can barely keep up, our initial run of the event ring will almost never
terminate and this delays the starting of the display thread.
The screen basically stays black until the event thread can get out of
it's endless loop.
Therefore, start the display thread before we start processing the ring
buffer.
This also make sure that we always have the user requested real time
setting engaged when processing the ring.
Signed-off-by: David S. Miller <davem@davemloft.net>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20181030.223003.2242527041807905962.davem@davemloft.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions