diff options
author | 2021-02-08 21:08:53 +0100 | |
---|---|---|
committer | 2021-02-11 10:02:54 -0300 | |
commit | 12c1a415eb8dc258a33f04d6a4df288e0cc4e200 (patch) | |
tree | 2642667e7a1ce80dbd6368c7629898c7cc3b36e1 /tools/perf/scripts/python | |
parent | perf daemon: Add background support (diff) | |
download | linux-rng-12c1a415eb8dc258a33f04d6a4df288e0cc4e200.tar.xz linux-rng-12c1a415eb8dc258a33f04d6a4df288e0cc4e200.zip |
perf daemon: Add signalfd support
Use a signalfd fd to track SIGCHLD signals as notifications for perf
session termination.
This way we don't need to actively check for child status, being
notified if there's change.
Suggested-by: Alexei Budankov <abudankov@huawei.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: https://lore.kernel.org/r/20210208200908.1019149-10-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions