From: "K.Prasad" <prasad@linux.vnet.ibm.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"mingo@elte.hu" <mingo@elte.hu>,
Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Subject: [Patch 0/1] Enable user-space breakpoint requests using PID
Date: Thu, 17 Dec 2009 22:50:10 +0530 [thread overview]
Message-ID: <20091217172010.GB5457@in.ibm.com> (raw)
Hi All,
Please find a patch that enables user-space breakpoints to be
requested using the 'pid' of a process.
The breakpoint request, thus received, is active over all threads of
the process (all task_structs having the same 'tgid') and on any new
threads that get spawned eventually.
Given that the 'pid' of a process is more visible (than its
task_struct), such an interface is expected to be useful to
debuggers/tracers (such as SystemTap).
The patch is based on commit 7818b3d0fc68f5c2a85fed86d9fa37131c5a3068 of
-tip tree. It has been tested with a hack to the -tip kernel code (that
comments out all references to event->filp) due to a bug in the
perf-events code (reported here 20091217170309.GA5457@in.ibm.com).
Thanks,
K.Prasad
next reply other threads:[~2009-12-17 17:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 17:20 K.Prasad [this message]
2009-12-17 17:22 ` [Patch 1/1] Introduce register_user_hbp_by_pid() and unregister_user_hbp_by_pid() K.Prasad
2009-12-18 20:47 ` Frederic Weisbecker
2009-12-21 18:46 ` K.Prasad
2009-12-30 22:28 ` Frederic Weisbecker
2009-12-31 18:48 ` K.Prasad
2010-01-10 4:00 ` Frederic Weisbecker
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=20091217172010.GB5457@in.ibm.com \
--to=prasad@linux.vnet.ibm.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
/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
all inboxes | Powered by JetHome®