diff options
author | guanglei <guanglei> | 2006-11-10 05:01:07 +0000 |
---|---|---|
committer | guanglei <guanglei> | 2006-11-10 05:01:07 +0000 |
commit | 44b614e2d2bb519f5053d520c747631c151275d7 (patch) | |
tree | b3b612b6067dc625d47c69fa26352fccdc706b1c | |
parent | 32847987f531bdbcb2d15a11143daf8a2bc09e12 (diff) | |
download | systemtap-steved-44b614e2d2bb519f5053d520c747631c151275d7.tar.gz systemtap-steved-44b614e2d2bb519f5053d520c747631c151275d7.tar.xz systemtap-steved-44b614e2d2bb519f5053d520c747631c151275d7.zip |
transport/procfs.c:
bugfix of the obsolete buf_info and consumed_info.
-rw-r--r-- | runtime/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/transport/procfs.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 3eae4158..e0cf15b7 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -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. diff --git a/runtime/transport/procfs.c b/runtime/transport/procfs.c index d208766d..77cfa627 100644 --- a/runtime/transport/procfs.c +++ b/runtime/transport/procfs.c @@ -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; |