]> git.ipfire.org Git - thirdparty/linux.git/commit
perf stat: Poll for monitored tasks being alive
authorJiri Olsa <jolsa@kernel.org>
Mon, 22 Oct 2018 09:30:15 +0000 (11:30 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 22 Oct 2018 15:37:52 +0000 (12:37 -0300)
commitcbb5df7e96070f1f728ff7885443646ebba703d4
tree3ec4f0e283f73e5ceb043b77daf7e0a64928a4ef
parenta937c6658b8e77e1f65cde2be9970811752121bb
perf stat: Poll for monitored tasks being alive

Adding the check for tasks we monitor via -p/-t options, and finish stat
if there's no longer task to monitor.

Requested-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: http://lkml.kernel.org/r/20181022093015.9106-1-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c