Lines Matching +full:- +full:kvm
3 # KVM Flight Recorder - ring buffer tracing script
9 # This script provides a command-line interface to kvm ftrace and is designed
10 # to be used as a flight recorder that is always running. To start in-memory
13 # sudo kvm_flightrecorder start 8192 # 8 MB per-cpu ring buffers
15 # The per-cpu ring buffer size can be given in KB as an optional argument to
33 # fixed-size in-memory trace.
53 enable_subsystem('kvm', True)
58 enable_subsystem('kvm', False)
81 print('Control the KVM flight recorder tracing.')
89 if cmd == '--version':
95 print('mount -t debugfs none /sys/kernel/debug')
108 print('Invalid per-cpu trace buffer size in KB')
111 print('Per-CPU ring buffer size set to %d KB' % buffer_size_kb)
114 print('KVM flight recorder enabled')
117 print('KVM flight recorder disabled')