diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-01 10:45:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-01 10:45:00 -0800 |
commit | 834db333eda46246f6290f0e1a7525af04fc8cb4 (patch) | |
tree | 4809b5da82a76a9924cde7a2db8986636f8be727 /include/linux | |
parent | 8ea85c2817301adb986b3b86dc20414595b776be (diff) | |
parent | 5352ae638e2d7d5c9b2e4d528676bbf2af6fd6f3 (diff) | |
download | linux-834db333eda46246f6290f0e1a7525af04fc8cb4.tar.gz linux-834db333eda46246f6290f0e1a7525af04fc8cb4.tar.bz2 linux-834db333eda46246f6290f0e1a7525af04fc8cb4.zip |
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
perf, hw_breakpoint, kgdb: Do not take mutex for kernel debugger
x86, hw_breakpoints, kgdb: Fix kgdb to use hw_breakpoint API
hw_breakpoints: Release the bp slot if arch_validate_hwbkpt_settings() fails.
perf: Ignore perf.data.old
perf report: Fix segmentation fault when running with '-g none'
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/hw_breakpoint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hw_breakpoint.h b/include/linux/hw_breakpoint.h index 41235c93e4e9..070ba0621738 100644 --- a/include/linux/hw_breakpoint.h +++ b/include/linux/hw_breakpoint.h @@ -75,6 +75,8 @@ extern int __register_perf_hw_breakpoint(struct perf_event *bp); extern void unregister_hw_breakpoint(struct perf_event *bp); extern void unregister_wide_hw_breakpoint(struct perf_event **cpu_events); +extern int dbg_reserve_bp_slot(struct perf_event *bp); +extern int dbg_release_bp_slot(struct perf_event *bp); extern int reserve_bp_slot(struct perf_event *bp); extern void release_bp_slot(struct perf_event *bp); |