diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-03-17 13:38:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-03-17 13:38:41 +0100 |
commit | 8df341cf251f3b77eaaef66f806570e74ab44452 (patch) | |
tree | 66dacceda331b1ef32772a1b4c63c7f1f4c96d1a /include | |
parent | eb4316dd0a96a74104e5b921e640e73a99b56795 (diff) | |
parent | ec6b426c4dbb9eef40375c389746cab7e931a584 (diff) |
Merge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile into perf/urgent
Diffstat (limited to 'include')
-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 1ca64113efe8..7f5cfd3b37dd 100644 --- a/include/linux/oprofile.h +++ b/include/linux/oprofile.h @@ -106,6 +106,13 @@ void oprofile_add_sample(struct pt_regs * const regs, unsigned long event); void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs, unsigned long event, int is_kernel); +/** + * Add an hardware sample. + */ +void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs, + unsigned long event, int is_kernel, + struct task_struct *task); + /* Use this instead when the PC value is not from the regs. Doesn't * backtrace. */ void oprofile_add_pc(unsigned long pc, int is_kernel, unsigned long event); |