[PATCH 16/24] perf daemon: Use control to stop session

2021-02-08 Thread Jiri Olsa
Using 'stop' control command to stop perf record session. If that fails, falling back to current SIGTERM/SIGKILL pair. Signed-off-by: Jiri Olsa --- tools/perf/builtin-daemon.c | 56 ++--- 1 file changed, 46 insertions(+), 10 deletions(-) diff --git a/tools/perf/b

[PATCH 16/24] perf daemon: Use control to stop session

2021-01-30 Thread Jiri Olsa
Using 'stop' control command to stop perf record session. If that fails, falling back to current SIGTERM/SIGKILL pair. Signed-off-by: Jiri Olsa --- tools/perf/builtin-daemon.c | 56 ++--- 1 file changed, 46 insertions(+), 10 deletions(-) diff --git a/tools/perf/b