public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: tonyg362 <tonyg3622@yahoo.com>
To: systemtap@sourceware.org
Subject: Re: kernel read fault when accessing context variables
Date: Fri, 09 Jul 2010 17:27:00 -0000	[thread overview]
Message-ID: <29117808.post@talk.nabble.com> (raw)
In-Reply-To: <1278660467.2409.6.camel@hermans.wildebeest.org>


Thanks for your help, the sched_switch trace point seems like a good option
and works fine on my machine. I just really wanted to get it to work the
other way if for no other reason than I spent so much time trying to get it
to work, I may keep trying. Funny thing is that I can get my original script
working on an embedded ARM 9 running Ubuntu 9.10 but I can't get it on my
PC. :-/

-Tony


Mark Wielaard-4 wrote:
> 
> On Thu, 2010-07-08 at 21:11 -0700, tonyg362 wrote:
>> That's strange, I have tried probing at every line in the scheduler and
>> get a
>> semantic error or a kernel read fault. Can you tell me your setup and how
>> you built your debug kernel?
> 
> That result was against the rhel6 beta kernel on x86_64:
> http://www.redhat.com/rhel/beta/
> 
> But the same work on i686 against the fedora 13 (2.6.33.5-124.fc13.i686)
> kernel. The source line moved a bit, so I had to use +44 here for
> kernel.statement("schedule@kernel/sched.c+44") also the trace point just
> works out of the box kernel.trace("sched_switch").
> 
> Cheers,
> 
> Mark
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/kernel-read-fault-when-accessing-context-variables-tp29099754p29117808.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.

  reply	other threads:[~2010-07-09 17:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-07 18:41 tonyg362
2010-07-08 14:28 ` Mark Wielaard
2010-07-08 16:15   ` tonyg362
2010-07-08 20:42     ` Mark Wielaard
2010-07-08 20:52       ` Mark Wielaard
2010-07-09  4:11         ` tonyg362
2010-07-09  7:27           ` Mark Wielaard
2010-07-09 17:27             ` tonyg362 [this message]
2010-07-08 15:01 ` 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=29117808.post@talk.nabble.com \
    --to=tonyg3622@yahoo.com \
    --cc=systemtap@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).