7 perf-daemon - Run record sessions on background
14 'perf daemon' [<options>]
15 'perf daemon start' [<options>]
16 'perf daemon stop' [<options>]
17 'perf daemon signal' [<options>]
22 This command allows to run simple daemon process that starts and
23 monitors configured record sessions.
25 You can imagine 'perf daemon' of background process with several
26 'perf record' child tasks, like:
30 1 916507 ... perf daemon start
31 916507 916508 ... \_ perf record --control=fifo:control,ack -m 10M -e cycles --overwrite --switch-output -a
32 916507 916509 ... \_ perf record --control=fifo:control,ack -m 20M -e sched:* --overwrite --switch-output -a
34 Not every 'perf record' session is suitable for running under daemon.
35 User need perf session that either produces data on query, like the
36 flight recorder sessions in above example or session that is configured
37 to produce data periodically, like with --switch-output configuration
47 Config file path. If not provided, perf will check system and default
48 locations (/etc/perfconfig, $HOME/.perfconfig).
51 Base directory path. Each daemon instance is running on top
54 All generic options are available also under commands.
59 The start command creates the daemon process.
63 Do not put the process in background.
68 The stop command stops all the session and the daemon process.
73 The signal command sends signal to configured sessions.
76 Send signal to specific session.
81 The daemon is configured within standard perf config file by
82 following new variables:
85 Base path for daemon data. All sessions data are
86 stored under this path.
89 Defines new record session. The value is record's command
90 line without the 'record' keyword.
92 Each perf record session is run in daemon.base/<NAME> directory.
97 linkperf:perf-record[1], linkperf:perf-config[1]