]> sourceware.org Git - systemtap.git/commitdiff
transport/procfs.c:
authorguanglei <guanglei>
Fri, 10 Nov 2006 05:01:07 +0000 (05:01 +0000)
committerguanglei <guanglei>
Fri, 10 Nov 2006 05:01:07 +0000 (05:01 +0000)
bugfix of the obsolete buf_info and consumed_info.

runtime/ChangeLog
runtime/transport/procfs.c

index 3eae4158adc1314ee372da3f1ee1750a3392de13..e0cf15b7ca84a06c83729cdd3ce8c5a255c1a2e3 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-10  Li Guanglei <guanglei@cn.ibm.com>
+
+       * transport/procfs.c: bugfix of the obsolete buf_info
+       and consumed_info.
+       
 2006-11-09  Martin Hunt  <hunt@redhat.com>
 
        * sym.h: Change int to int32_t.
index d208766d1dadc9df7ce776f38f8f1f0cccebcac3..77cfa6271931c169b5eb5af51db585fe3fc55db5 100644 (file)
@@ -24,7 +24,7 @@ static ssize_t
 _stp_proc_read (struct file *file, char __user *buf, size_t count, loff_t *ppos)
 {
        int num;
-       struct buf_info out;
+       struct _stp_buf_info out;
 
        int cpu = *(int *)(PDE(file->f_dentry->d_inode)->data);
 
@@ -52,7 +52,7 @@ _stp_proc_read (struct file *file, char __user *buf, size_t count, loff_t *ppos)
 static ssize_t _stp_proc_write (struct file *file, const char __user *buf,
                                size_t count, loff_t *ppos)
 {
-       struct consumed_info info;
+       struct _stp_consumed_info info;
        int cpu = *(int *)(PDE(file->f_dentry->d_inode)->data);
        if (copy_from_user(&info, buf, count))
                return -EFAULT;
This page took 0.031749 seconds and 5 git commands to generate.