diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-10-16 20:17:25 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-10-16 20:17:25 +0200 |
commit | f92f6e6ee35d2779aa62e70f78ad8e1cd417eb52 (patch) | |
tree | 1e8e2ee34678a43d416c4bab58f9ca91673d4444 /include/linux/oprofile.h | |
parent | 66af86e2c630908b21cec018cb612576cf5f516e (diff) | |
parent | cd254f295248c98b62ea824f361e10d80a081fe7 (diff) |
Merge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile into perf/core
Diffstat (limited to 'include/linux/oprofile.h')
-rw-r--r-- | include/linux/oprofile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h index 5171639ecf0f..32fb81212fd1 100644 --- a/include/linux/oprofile.h +++ b/include/linux/oprofile.h @@ -15,6 +15,7 @@ #include <linux/types.h> #include <linux/spinlock.h> +#include <linux/init.h> #include <asm/atomic.h> /* Each escaped entry is prefixed by ESCAPE_CODE @@ -185,4 +186,10 @@ int oprofile_add_data(struct op_entry *entry, unsigned long val); int oprofile_add_data64(struct op_entry *entry, u64 val); int oprofile_write_commit(struct op_entry *entry); +#ifdef CONFIG_PERF_EVENTS +int __init oprofile_perf_init(struct oprofile_operations *ops); +void oprofile_perf_exit(void); +char *op_name_from_perf_id(void); +#endif /* CONFIG_PERF_EVENTS */ + #endif /* OPROFILE_H */ |