]> err.no Git - linux-2.6/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)
commita95d67f87e1a5f1b4429be3ba3bf7b4051657908
tree4a67994b901c5dfbf3c2ee752efd53dbce938c36
parente4811f2568c55e595a7bf15a3b9aba863b31fb94
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