aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2020-12-26 23:20:38 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-01-20 17:34:21 +0000
commit47fddcb479e73c341fb414e40a89572dacadd360 (patch)
tree6a968b553d33efc8b1abb4b1814650a23c46f365 /tools/perf/builtin-script.c
parentperf tools: Add 'stop' control command (diff)
downloadkernel-47fddcb479e73c341fb414e40a89572dacadd360.tar.gz
kernel-47fddcb479e73c341fb414e40a89572dacadd360.zip
perf tools: Add 'ping' control command
Add a control 'ping' command to detect if perf is up and its control interface is operational. It will be used in following daemon patches to synchronize with record session - when control interface is up and running, we know that perf record is monitoring and ready to receive signals. Example session: terminal 1: # mkfifo control ack # perf record --control=fifo:control,ack terminal 2: # echo ping > control # cat ack ack Signed-off-by: Jiri Olsa <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexei Budankov <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions