diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2008-12-19 14:10:24 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-20 08:15:46 (GMT) |
commit | bf53de907dfdaac178c92d774aae7370d7b97d20 (patch) | |
tree | 738a07a8b4b22f7bb8ec2029c9ea9c635db6c62a /arch/blackfin/lib/strncpy.c | |
parent | 30cd324e9787ccc9a5ede59742d5409857550692 (diff) | |
download | linux-bf53de907dfdaac178c92d774aae7370d7b97d20.tar.xz |
x86, bts: add fork and exit handling
Impact: introduce new ptrace facility
Add arch_ptrace_untrace() function that is called when the tracer
detaches (either voluntarily or when the tracing task dies);
ptrace_disable() is only called on a voluntary detach.
Add ptrace_fork() and arch_ptrace_fork(). They are called when a
traced task is forked.
Clear DS and BTS related fields on fork.
Release DS resources and reclaim memory in ptrace_untrace(). This
releases resources already when the tracing task dies. We used to do
that when the traced task dies.
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/blackfin/lib/strncpy.c')
0 files changed, 0 insertions, 0 deletions