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.
-Will
--- perfmon-rawhide/perfmon-new-base-mod-061204.diff 2007-01-14 17:12:44.000000000 -0500
+++ perfmon-rawhide-20070116/perfmon-new-base-mod-061204.diff 2007-01-15 17:54:13.000000000 -0500
@@ -45,12 +45,13 @@
struct pollfd;
struct rlimit;
struct rusage;
-@@ -605,4 +612,27 @@
+@@ -605,4 +612,28 @@
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/