public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: David Smith <dsmith@redhat.com>
To: Maynard Johnson <maynardj@us.ibm.com>
Cc: systemtap@sourceware.org, "Frank Ch. Eigler" <fche@redhat.com>,
	        Roland McGrath <roland@redhat.com>
Subject: Re: Backward compatibility for insn probe point
Date: Thu, 30 Apr 2009 18:00:00 -0000	[thread overview]
Message-ID: <49F9E71D.2070500@redhat.com> (raw)
In-Reply-To: <49F8C1C0.8070208@us.ibm.com>

Maynard Johnson wrote:
> David Smith wrote:
>> Maynard Johnson wrote:

... stuff deleted ...

>>> The result of the above test is that the stap command hangs at
>>> "stapio:start_cmd:195 execing target_cmd /bin/ls".  If I Ctl-C the
>>> job, it finished (i.e, I see "Pass 5: run completed ..."), but the
>>> output file contents indicate the insn probe was not hit (i.e.,
>>> "itraced = 0").
>>>
>>> Any suggestions on where to look for the problem?
>> I took a look at this and fixed it.  For more details, see
> I've not tested the fix on x86 yet, but I'm afraid the results don't look right on ppc64/RHEL 5.
> But test results of 0.9.7 with your patch on ppc64/F11 were good -- no
regressions.  I used the
> following simple test script:

... script deleted ...

> I invoked the script as follows:
>      stap  -c /usr/bin/whoami simple-test.stp /usr/bin/whoami -o simple-out
> On Fedora 11, the simple-out file showed that I had nearly 330,000 insn probe hits.  On ppc64/RHEL
> 5.3, I had only 65 probe hits.  Can you try out the above script on an
x86/RHEL 5.3 system?

I've tested this on x86/RHEL5.3 (2.6.18-128.1.6.el5) and I get 226127
probe hits.  On x86_64/RHEL5.3 (2.6.18-128.1.6.el5) I get 198294 probe hits.

Off the top of my head that might mean there is a specific ppc64 utrace
problem.

Roland, do you know of any problems with original utrace doing
UTRACE_ACTION_SINGLESTEP on ppc64?

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

  reply	other threads:[~2009-04-30 18:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 21:59 Maynard Johnson
2009-04-27 21:01 ` David Smith
2009-04-29 13:56   ` Maynard Johnson
2009-04-29 21:08   ` Maynard Johnson
2009-04-30 18:00     ` David Smith [this message]
2009-04-30 20:48       ` Roland McGrath
2009-05-12 16:06         ` David Smith
2009-05-12 18:20           ` Roland McGrath
2009-05-13 15:04             ` David Smith
2009-05-13 18:24               ` Roland McGrath
2009-05-14 15:11                 ` David Smith
2009-05-14 18:41                   ` Roland McGrath
2009-05-14 19:01                   ` Maynard Johnson
2009-05-14 19:44                     ` David Smith
2009-05-14 21:36                       ` David Smith
2009-05-15 13:52                         ` ia64 hang when using itrace (was Re: Backward compatibility for insn probe point) David Smith

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=49F9E71D.2070500@redhat.com \
    --to=dsmith@redhat.com \
    --cc=fche@redhat.com \
    --cc=maynardj@us.ibm.com \
    --cc=roland@redhat.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).