From: Ingo Molnar <mingo@elte.hu>
To: Markus Metzger <markus.t.metzger@intel.com>
Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com,
markus.t.metzger@gmail.com, roland@redhat.com,
eranian@googlemail.com
Subject: Re: [patch 1/2] x86, bts: fork and exit handling
Date: Sat, 20 Dec 2008 09:17:55 +0100 [thread overview]
Message-ID: <20081220081755.GA5581@elte.hu> (raw)
In-Reply-To: <20081219151024.A4960@sedona.ch.intel.com>
* Markus Metzger <markus.t.metzger@intel.com> wrote:
> 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>
applied to tip/tracing/hw-branch-tracer, thanks Markus! It's a nice
cleanup too - to tear down any arch-level ptrace state that might come
around.
Ingo
prev parent reply other threads:[~2008-12-20 8:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-19 14:10 [patch 1/2] x86, bts: fork and exit handling Markus Metzger
2008-12-20 8:17 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081220081755.GA5581@elte.hu \
--to=mingo@elte.hu \
--cc=eranian@googlemail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=markus.t.metzger@gmail.com \
--cc=markus.t.metzger@intel.com \
--cc=roland@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox