aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_trace.c
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-04-15 17:05:42 -0400
committerAvi Kivity <avi@qumranet.com>2008-04-27 11:21:36 -0400
commit76f7c87902fd2c2de9eb57168adbf9bc5ec2047d (patch)
tree499175753a2f5e1438a8cada5da52da244cc4bf1 /virt/kvm/kvm_trace.c
parentf9b7aab35cc6c3542203354d9fc4ec8572074abc (diff)
KVM: Rename debugfs_dir to kvm_debugfs_dir
It's a globally exported symbol now. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'virt/kvm/kvm_trace.c')
-rw-r--r--virt/kvm/kvm_trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/kvm_trace.c b/virt/kvm/kvm_trace.c
index 5425440c54bf..0e495470788d 100644
--- a/virt/kvm/kvm_trace.c
+++ b/virt/kvm/kvm_trace.c
@@ -159,12 +159,12 @@ static int do_kvm_trace_enable(struct kvm_user_trace_setup *kuts)
159 159
160 r = -EIO; 160 r = -EIO;
161 atomic_set(&kt->lost_records, 0); 161 atomic_set(&kt->lost_records, 0);
162 kt->lost_file = debugfs_create_file("lost_records", 0444, debugfs_dir, 162 kt->lost_file = debugfs_create_file("lost_records", 0444, kvm_debugfs_dir,
163 kt, &kvm_trace_lost_ops); 163 kt, &kvm_trace_lost_ops);
164 if (!kt->lost_file) 164 if (!kt->lost_file)
165 goto err; 165 goto err;
166 166
167 kt->rchan = relay_open("trace", debugfs_dir, kuts->buf_size, 167 kt->rchan = relay_open("trace", kvm_debugfs_dir, kuts->buf_size,
168 kuts->buf_nr, &kvm_relay_callbacks, kt); 168 kuts->buf_nr, &kvm_relay_callbacks, kt);
169 if (!kt->rchan) 169 if (!kt->rchan)
170 goto err; 170 goto err;