X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Foprofile%2Foprof.h;h=18323650806e58013820984bbe69bd16aabbda4e;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=3f647b76a4932901f300cbd4eff2a9d41feb1b38;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/oprofile/oprof.h b/drivers/oprofile/oprof.h index 3f647b76a..183236508 100644 --- a/drivers/oprofile/oprof.h +++ b/drivers/oprofile/oprof.h @@ -24,12 +24,16 @@ struct oprofile_operations; extern unsigned long fs_buffer_size; extern unsigned long fs_cpu_buffer_size; extern unsigned long fs_buffer_watershed; -extern struct oprofile_operations * oprofile_ops; +extern struct oprofile_operations oprofile_ops; extern unsigned long oprofile_started; +extern unsigned long backtrace_depth; struct super_block; struct dentry; void oprofile_create_files(struct super_block * sb, struct dentry * root); +void oprofile_timer_init(struct oprofile_operations * ops); + +int oprofile_set_backtrace(unsigned long depth); #endif /* OPROF_H */