]> git.baikalelectronics.ru Git - kernel.git/commit
x86, ptrace: new ptrace BTS API
authorMarkus Metzger <markus.t.metzger@intel.com>
Wed, 30 Jan 2008 12:31:20 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:20 +0000 (13:31 +0100)
commiteb196a165b341d256691d3513aa3dabf9ece1b14
tree4a67994b901c5dfbf3c2ee752efd53dbce938c36
parent6ef8c3c4ff998a5070f7692d20c4ec6fdd6840f3
x86, ptrace: new ptrace BTS API

Here's the new ptrace BTS API that supports two different overflow handling mechanisms (wrap-around and buffer-full-signal) to support two different use cases (debugging and profiling).

It further combines buffer allocation and configuration.

Opens:
- memory rlimit
- overflow signal

What would be the right signal to use?

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/ds.c
arch/x86/kernel/ptrace.c
include/asm-x86/ds.h
include/asm-x86/ptrace-abi.h
include/asm-x86/ptrace.h