PERF-DAEMON(1) perf Manual PERF-DAEMON(1) (NAME) perf-daemon - (SYNOPSIS) perf daemon perf daemon [] perf daemon start [] perf daemon stop [] perf daemon signal [] perf daemon ping [] (DESCRIPTION) (daemon) (record) . perf daemon perf record : # ps axjf ... 1 916507 ... perf daemon start 916507 916508 ... \_ perf record --control=fifo:control,ack -m 10M -e cycles --overwrite --switch-output -a 916507 916509 ... \_ perf record --control=fifo:control,ack -m 20M -e sched:* --overwrite --switch-output -a perf record . perf (flight recorder) --switch-output . ( perf record --control) . << (CONFIG FILE)>> . (OPTIONS) -v, --verbose . --config= . perf (/etc/perfconfig $HOME/.perfconfig) . --base= (base). . (server) . . START (START COMMAND) start . -f, --foreground . STOP (STOP COMMAND) stop . SIGNAL (SIGNAL COMMAND) signal . --session . PING (PING COMMAND) ping . --session . (CONFIG FILE) perf : daemon.base: . . session-.run: . record record . perf record daemon.base/ . (EXAMPLES) record: # cat ~/.perfconfig [daemon] base=/opt/perfdata [session-cycles] run = -m 10M -e cycles --overwrite --switch-output -a [session-sched] run = -m 20M -e sched:* --overwrite --switch-output -a : # perf daemon start : # perf daemon [603349:daemon] base: /opt/perfdata [603350:cycles] perf record -m 10M -e cycles --overwrite --switch-output -a [603351:sched] perf record -m 20M -e sched:* --overwrite --switch-output -a . : # perf daemon -v [603349:daemon] base: /opt/perfdata output: /opt/perfdata/output lock: /opt/perfdata/lock up: 1 minutes [603350:cycles] perf record -m 10M -e cycles --overwrite --switch-output -a base: /opt/perfdata/session-cycles output: /opt/perfdata/session-cycles/output control: /opt/perfdata/session-cycles/control ack: /opt/perfdata/session-cycles/ack up: 1 minutes [603351:sched] perf record -m 20M -e sched:* --overwrite --switch-output -a base: /opt/perfdata/session-sched output: /opt/perfdata/session-sched/output control: /opt/perfdata/session-sched/control ack: /opt/perfdata/session-sched/ack up: 1 minutes base / . lock . output perf record . control ack perf . up / . : # perf daemon ping OK cycles OK sched USR2 cycles perf.data: # perf daemon signal --session cycles signal 12 sent to session 'cycles [603452]' # tail -2 /opt/perfdata/session-cycles/output [ perf record: dump data: Woken up 1 times ] [ perf record: Dump perf.data.2020123017013149 ] USR2 : # perf daemon signal signal 12 sent to session 'cycles [603452]' signal 12 sent to session 'sched [603453]' # tail -2 /opt/perfdata/session-cycles/output [ perf record: dump data: Woken up 1 times ] [ perf record: Dump perf.data.2020123017024689 ] # tail -2 /opt/perfdata/session-sched/output [ perf record: dump data: Woken up 1 times ] [ perf record: Dump perf.data.2020123017024713 ] : # perf daemon stop (SEE ALSO) perf-record(1), perf-config(1) perf 09/04/2026 PERF-DAEMON(1)