7 perf-daemon - Run record sessions on background
14 'perf daemon' [<options>]
15 'perf daemon start' [<options>]
16 'perf daemon signal' [<options>]
21 This command allows to run simple daemon process that starts and
22 monitors configured record sessions.
24 You can imagine 'perf daemon' of background process with several
25 'perf record' child tasks, like:
29 1 916507 ... perf daemon start
30 916507 916508 ... \_ perf record --control=fifo:control,ack -m 10M -e cycles --overwrite --switch-output -a
31 916507 916509 ... \_ perf record --control=fifo:control,ack -m 20M -e sched:* --overwrite --switch-output -a
33 Not every 'perf record' session is suitable for running under daemon.
34 User need perf session that either produces data on query, like the
35 flight recorder sessions in above example or session that is configured
36 to produce data periodically, like with --switch-output configuration
46 Config file path. If not provided, perf will check system and default
47 locations (/etc/perfconfig, $HOME/.perfconfig).
50 Base directory path. Each daemon instance is running on top
53 All generic options are available also under commands.
58 The start command creates the daemon process.
62 Do not put the process in background.
67 The signal command sends signal to configured sessions.
70 Send signal to specific session.
75 The daemon is configured within standard perf config file by
76 following new variables:
79 Base path for daemon data. All sessions data are
80 stored under this path.
83 Defines new record session. The value is record's command
84 line without the 'record' keyword.
86 Each perf record session is run in daemon.base/<NAME> directory.
91 linkperf:perf-record[1], linkperf:perf-config[1]