From: "Frank Ch. Eigler" <fche@redhat.com>
To: Jim Keniston <jkenisto@us.ibm.com>
Cc: systemtap@sources.redhat.com
Subject: Re: user-space probes -- plan B from outer space
Date: Fri, 09 Jun 2006 18:42:00 -0000 [thread overview]
Message-ID: <20060609184213.GA28587@redhat.com> (raw)
In-Reply-To: <1149854152.5101.9.camel@dyn9047018079.beaverton.ibm.com>
Hi -
> Code (and README, tests, bug report) attached.
> The slowdown is still about 14x (over LKML uprobes) [...]
Thanks, well done. It looks a lot like plan B: no kernel-side changes.
> [...] It slows down significantly (and often breaks -- see README)
> when probing multiple heavily-probe-burdened processes
> simultaneously. [...]
Unless one can get around it with clever signal manipulation, this may
be a good reason to recast libptp as a multiprocessing system. (One
would have to experiment to see whether it could be "simply"
multithreaded or a full-blown multi-process widget is required.) In
any case, it would avoid multiplexing multiple sources of ptrace
SIGCHLD on any particular probing process.
Another major stumbling block will be when attempting to instrument
multithreaded target programs, where single-stepping and opcode
replacement need to be synchronized. This is a source of complexity
in real debuggers.
- FChE
next prev parent reply other threads:[~2006-06-09 18:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-06 19:08 Frank Ch. Eigler
2006-06-06 21:50 ` Jim Keniston
2006-06-07 19:59 ` Frank Ch. Eigler
2006-06-09 11:57 ` Jim Keniston
2006-06-09 18:42 ` Frank Ch. Eigler [this message]
2006-06-07 1:38 ` Vara Prasad
2006-06-14 19:11 ` Frank Ch. Eigler
2006-06-14 22:42 ` Vara Prasad
2006-06-14 23:46 ` Frank Ch. Eigler
2006-06-15 1:02 ` Vara Prasad
2006-06-19 17:13 ` Frank Ch. Eigler
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=20060609184213.GA28587@redhat.com \
--to=fche@redhat.com \
--cc=jkenisto@us.ibm.com \
--cc=systemtap@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).