* a patch for procfs.c
@ 2006-11-10 8:13 Li Guanglei
0 siblings, 0 replies; only message in thread
From: Li Guanglei @ 2006-11-10 8:13 UTC (permalink / raw)
To: systemtap; +Cc: Martin Hunt
[-- Attachment #1: Type: text/plain, Size: 194 bytes --]
Hi Martin,
It seems that you forgot to change buf_info & consumed_info in your
last night's checkin. Here is a patch and I have checked it in for
you. I tested on ppc64/i686.
- Guanglei
[-- Attachment #2: cvs.diff --]
[-- Type: text/plain, Size: 867 bytes --]
Index: runtime/transport/procfs.c
===================================================================
RCS file: /cvs/systemtap/src/runtime/transport/procfs.c,v
retrieving revision 1.22
diff -u -r1.22 procfs.c
--- runtime/transport/procfs.c 9 Nov 2006 17:57:40 -0000 1.22
+++ runtime/transport/procfs.c 10 Nov 2006 04:46:54 -0000
@@ -24,7 +24,7 @@
_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 @@
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-10 5:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-10 8:13 a patch for procfs.c Li Guanglei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).