Blame view
drivers/oprofile/oprof.h
1.17 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
/** * @file oprof.h * * @remark Copyright 2002 OProfile authors * @remark Read the file COPYING * * @author John Levon <levon@movementarian.org> */ #ifndef OPROF_H #define OPROF_H int oprofile_setup(void); |
6a18037d4 oprofile: fixing ... |
14 |
void oprofile_shutdown(void); |
1da177e4c Linux-2.6.12-rc2 |
15 16 17 18 19 20 21 22 |
int oprofilefs_register(void); void oprofilefs_unregister(void); int oprofile_start(void); void oprofile_stop(void); struct oprofile_operations; |
6a18037d4 oprofile: fixing ... |
23 |
|
bd2172f58 oprofile: rename ... |
24 25 26 |
extern unsigned long oprofile_buffer_size; extern unsigned long oprofile_cpu_buffer_size; extern unsigned long oprofile_buffer_watershed; |
afe1b50fe oprofile: Rename ... |
27 |
extern unsigned long oprofile_time_slice; |
1da177e4c Linux-2.6.12-rc2 |
28 29 |
extern struct oprofile_operations oprofile_ops; extern unsigned long oprofile_started; |
bd2172f58 oprofile: rename ... |
30 |
extern unsigned long oprofile_backtrace_depth; |
6a18037d4 oprofile: fixing ... |
31 |
|
1da177e4c Linux-2.6.12-rc2 |
32 33 |
struct super_block; struct dentry; |
25ad2913c oprofile: more wh... |
34 |
void oprofile_create_files(struct super_block *sb, struct dentry *root); |
bc078e4ea oprofile: convert... |
35 |
int oprofile_timer_init(struct oprofile_operations *ops); |
dcfce4a09 oprofile, x86: Re... |
36 37 38 39 40 41 42 43 |
#ifdef CONFIG_OPROFILE_NMI_TIMER int op_nmi_timer_init(struct oprofile_operations *ops); #else static inline int op_nmi_timer_init(struct oprofile_operations *ops) { return -ENODEV; } #endif |
1da177e4c Linux-2.6.12-rc2 |
44 |
|
7df01d96b oprofile: disable... |
45 |
int oprofile_set_ulong(unsigned long *addr, unsigned long val); |
4d4036e0e oprofile: Impleme... |
46 |
int oprofile_set_timeout(unsigned long time); |
6a18037d4 oprofile: fixing ... |
47 |
|
1da177e4c Linux-2.6.12-rc2 |
48 |
#endif /* OPROF_H */ |