X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Foprofile.h;h=f17c89c37c7221b0f8932dcfab00a56f93e7eaee;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=80cfea0fa65f754b2c630467723f3eca3accf1da;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h index 80cfea0fa..f17c89c37 100644 --- a/include/linux/oprofile.h +++ b/include/linux/oprofile.h @@ -65,6 +65,9 @@ extern void oprofile_add_sample(unsigned long eip, unsigned int is_kernel, */ int oprofilefs_create_file(struct super_block * sb, struct dentry * root, char const * name, struct file_operations * fops); + +int oprofilefs_create_file_perm(struct super_block * sb, struct dentry * root, + char const * name, struct file_operations * fops, int perm); /** Create a file for read/write access to an unsigned long. */ int oprofilefs_create_ulong(struct super_block * sb, struct dentry * root,