summaryrefslogtreecommitdiffstats
path: root/tools/kvm/kvm_stat/kvm_stat.service
blob: 71aabaffe779122c9cf7d5b1391780605e21d00b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-License-Identifier: GPL-2.0-only

[Unit]
Description=Service that logs KVM kernel module trace events
Before=qemu-kvm.service

[Service]
Type=simple
ExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
SyslogIdentifier=kvm_stat
SyslogLevel=debug

[Install]
WantedBy=multi-user.target