OSDN Git Service

perf top: Set the 'session_done' volatile variable when exiting
authorJiri Olsa <jolsa@kernel.org>
Wed, 7 Nov 2018 19:11:19 +0000 (20:11 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 17:58:19 +0000 (14:58 -0300)
commitc94cef4beb66d3e1f4ed0f3bf6c2663a9c3cf3c0
tree2f18e658fcf873d94bdfbeb83d2974c5d4e11d6e
parent94ad6e7e3606454498aeac1fdd1b9de5c1e6735a
perf top: Set the 'session_done' volatile variable when exiting

So we can get out of hist processing ASAP on user request.

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