18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci[Unit] 48c2ecf20Sopenharmony_ciDescription=Service that logs KVM kernel module trace events 58c2ecf20Sopenharmony_ciBefore=qemu-kvm.service 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci[Service] 88c2ecf20Sopenharmony_ciType=simple 98c2ecf20Sopenharmony_ciExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv 108c2ecf20Sopenharmony_ciExecReload=/bin/kill -HUP $MAINPID 118c2ecf20Sopenharmony_ciRestart=always 128c2ecf20Sopenharmony_ciRestartSec=60s 138c2ecf20Sopenharmony_ciSyslogIdentifier=kvm_stat 148c2ecf20Sopenharmony_ciSyslogLevel=debug 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci[Install] 178c2ecf20Sopenharmony_ciWantedBy=multi-user.target 18