Stephane Eranian wrote:
Will,

On Tue, Jan 16, 2007 at 04:16:30PM -0500, William Cohen wrote:
I was looking through the declarations in syscall.h and found that the declaration for sys_pfm_create_context does not agree with the function body. The attached patch shows the correction.

Good catch!

Could you just resubmit with a diff against kernel source tree and not perfmon
patch?

Thanks.


Yes, here is the diff of the actual file. -Will
--- /home/wcohen/perfmon2/linux-2.6.19-perfmon2/include/linux/syscalls.h	2006-12-04 11:57:38.000000000 -0500
+++ linux-2.6.19.x86_64/include/linux/syscalls.h	2007-01-15 17:47:12.000000000 -0500
@@ -613,7 +613,8 @@
 int kernel_execve(const char *filename, char *const argv[], char *const envp[]);
 
 asmlinkage long sys_pfm_create_context(struct pfarg_ctx __user *ureq,
-				       void __user *uarg, size_t smpl_size);
+				       char __user *fmt_name,
+				       void __user *fmt_uarg, size_t smpl_size);
 asmlinkage long sys_pfm_write_pmcs(int fd, struct pfarg_pmc __user *ureq,
 				   int count);
 asmlinkage long sys_pfm_write_pmds(int fd, struct pfarg_pmd __user *ureq,
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to