xref: /linux/tools/kvm/kvm_stat/kvm_stat.service (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1# SPDX-License-Identifier: GPL-2.0-only
2
3[Unit]
4Description=Service that logs KVM kernel module trace events
5Before=qemu-kvm.service
6
7[Service]
8Type=simple
9ExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv
10ExecReload=/bin/kill -HUP $MAINPID
11Restart=always
12RestartSec=60s
13SyslogIdentifier=kvm_stat
14SyslogLevel=debug
15
16[Install]
17WantedBy=multi-user.target
18