From: Mike Grundy <grund@wingnux.com>
To: linux-kernel@vger.kernel.org
Cc: dprobes@www-124.ibm.com
Subject: Kernel Probes - Is this the same as dynamic probes?
Date: Mon, 21 Oct 2002 23:24:09 -0400 [thread overview]
Message-ID: <20021022032409.GA26557@gorgor.wingnux.com> (raw)
Hi Folks -
Rob posed the question in his merge candidate list. Kprobes is an api
for placing arbitrary break (probes) points in kernel code and provides
for handlers (your function) to execute before and after the probed
instruction is executed.
Dynamic probes on the other hand does the same thing ;-)
Vamsi and co. designed kprobes to provide the core of the dprobes
engine: probe point management and insertion, probe point interrupt
handler, and post interrupt clean up (replacing the original
instruction, single stepping it and then putting the probe back) in a
lightweight patch so that it would be more palitable for inclusion in
the kernel.
The next version of dprobes could use the api as well as any module
thrown together to debug a problem (without having to reboot).
Anyway getting back to my quip about dprobes doing the same thing,
dprobes can put probes in kernel or userland code, has a debug engine we
call the dprobes_interpreter that runs probe point handler programs (kind
of pseudo assembler programs) that can change / record register values,
change / record memory locations, core the process or call LKCD and much
more.
kprobes doesn't have two things (IIRC) it needs to handle userland probe
points, I don't know if this was a planned addition or if Vamsi figured
out a way to handle it within the existing kprobes api.
dprobes has support for i386, s390, s390x, ppc and ppc64. kprobes has
i386 support right now, and after we review and beat upon the code I
posted to the dprobes list tonight, we'll have s390 and s390x support as
well.
Comments welcome.
Thanks
Mike
--
If we blow up, whatever's left of me is kicking your butt!
next reply other threads:[~2002-10-22 3:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-22 3:24 Mike Grundy [this message]
2002-10-22 9:39 ` Suparna Bhattacharya
2002-10-22 13:32 ` Vamsi Krishna S .
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=20021022032409.GA26557@gorgor.wingnux.com \
--to=grund@wingnux.com \
--cc=dprobes@www-124.ibm.com \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome