Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / kvm / kvm_stat / kvm_stat.service
blob8f13b843d5b4e47bb9eaa9d17dfdbb81596fd335
1 # SPDX-License-Identifier: GPL-2.0-only
3 [Unit]
4 Description=Service that logs KVM kernel module trace events
5 Before=qemu-kvm.service
7 [Service]
8 Type=simple
9 ExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv
10 ExecReload=/bin/kill -HUP $MAINPID
11 Restart=always
12 RestartSec=60s
13 SyslogIdentifier=kvm_stat
14 SyslogLevel=debug
16 [Install]
17 WantedBy=multi-user.target