This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Why can't probe do_page_fault?
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Bao <systemtap at yahoo dot cn>
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 01 Apr 2009 12:19:03 -0400
- Subject: Re: Why can't probe do_page_fault?
- References: <919979.46823.qm@web92107.mail.cnh.yahoo.com>
Hi -
do_page_fault is marked "__kprobes" in many kernel versions,
precluding kprobes from being placed there at run time. The
translator knows this and prevents even the attempt.
> besides,I can't not get the $tsk out of the function
> notify_exit(struct *tsk);
You'll need to give more specifics about your kernel version, exact
error messages, etc. See the "HowToReportBugs" wiki page.
- FChE