x86, bts, ptrace: move BTS buffer allocation from ds.c into ptrace.c
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 25 Nov 2008 08:05:27 +0000 (09:05 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 25 Nov 2008 16:31:12 +0000 (17:31 +0100)
Impact: restructure DS memory allocation to be done by the usage site of DS

Require pre-allocated buffers in ds.h.

Move the BTS buffer allocation for ptrace into ptrace.c.
The pointer to the allocated buffer is stored in the traced task's
task_struct together with the handle returned by ds_request_bts().

Removes memory accounting code.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found