From: David Smith <dsmith@redhat.com>
To: Quentin Barnes <qbarnes@urbana.css.mot.com>
Cc: systemtap@sources.redhat.com
Subject: Re: ARM port of testsuite and general testsuite fixes
Date: Wed, 06 Jun 2007 21:01:00 -0000 [thread overview]
Message-ID: <466720A2.4070709@redhat.com> (raw)
In-Reply-To: <20070606203920.GF20115@urbana.css.mot.com>
Quentin Barnes wrote:
> On Wed, Jun 06, 2007 at 03:07:26PM -0500, David Smith wrote:
>> Quentin Barnes wrote:
>
>> I'm unsure as why you aren't getting the full information.
>
> Ah, ha! I do now. It's another expect test script bug. It is
> missing its timeout parameter. (Patch below log output.) Still
> the same six failures though. Here's the output from cache.exp
> after adding the timeout patch:
> =====
> Running /usr/src/systemtap-20070602/testsuite/systemtap.base/cache.exp ...
> Pass 1: parsed user script and 53 library script(s) in
> 8400usr/9330sys/17801real ms.^M
> Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0
> global(s) in 120usr/140sys/261real ms.^M
> Pass 3: translated to C into
> "/tmp/stapf82Z9z/stap_ea86208e9a0e159926d52fe9d08590cf_132.c" in
> 0usr/30sys/53real ms.^M
> PASS: BASIC1 wasn't cached
> Pass 1: parsed user script and 53 library script(s) in
> 8550usr/8770sys/17322real ms.^M
> Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0
> global(s) in 170usr/60sys/222real ms.^M
> Pass 3: translated to C into
> "/tmp/stapUl2TCg/stap_ea86208e9a0e159926d52fe9d08590cf_132.c" in
> 0usr/30sys/35real ms.^M
> FAIL: BASIC2 wasn't cached
Well, you've improved things, but you're still missing the "Pass 4"
output line.
As to what we *can* see, something odd is going on. BASIC1 just tests
that the first compile of a script isn't cached. So far so good in your
output. BASIC2 compiles the same script, expecting it to be cached.
Yours wasn't (since the Pass 3 line didn't say "using cached").
Let's try some simple tests by hand. Here's what I get when I compile
the same simple script twice:
# stap -v -p4 -e 'probe begin { log("hello") }'
Pass 1: parsed user script and 54 library script(s) in
520usr/20sys/542real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0
global(s) in 10usr/0sys/11real ms.
Pass 3: translated to C into
"/tmp/stapHTajTu/stap_18fff0808dbc7fac961586069aa96877_233.c" in
0usr/0sys/1real ms.
/home/dsmith/.systemtap/cache/18/stap_18fff0808dbc7fac961586069aa96877_233.ko
Pass 4: compiled C into "stap_18fff0808dbc7fac961586069aa96877_233.ko"
in 3090usr/810sys/3770real ms.
# stap -v -p4 -e 'probe begin { log("hello") }'
Pass 1: parsed user script and 54 library script(s) in
510usr/20sys/536real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0
global(s) in 10usr/0sys/11real ms.
/home/dsmith/.systemtap/cache/18/stap_18fff0808dbc7fac961586069aa96877_233.ko
Pass 3: using cached
/home/dsmith/.systemtap/cache/18/stap_18fff0808dbc7fac961586069aa96877_233.c
Pass 4: using cached
/home/dsmith/.systemtap/cache/18/stap_18fff0808dbc7fac961586069aa96877_233.ko
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
next prev parent reply other threads:[~2007-06-06 21:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 0:36 Quentin Barnes
2007-06-06 16:02 ` David Smith
2007-06-06 17:11 ` Quentin Barnes
2007-06-06 18:22 ` David Smith
2007-06-06 18:39 ` Martin Hunt
2007-06-06 19:25 ` Quentin Barnes
2007-06-06 19:51 ` David Smith
2007-06-06 20:00 ` Quentin Barnes
2007-06-06 20:07 ` David Smith
2007-06-06 20:39 ` Quentin Barnes
2007-06-06 21:01 ` David Smith [this message]
2007-06-06 21:35 ` Quentin Barnes
2007-06-06 21:51 ` David Smith
2007-06-06 23:10 ` Roland McGrath
2007-06-06 23:44 ` Quentin Barnes
2007-06-07 1:05 ` Roland McGrath
2007-06-08 16:27 ` Quentin Barnes
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=466720A2.4070709@redhat.com \
--to=dsmith@redhat.com \
--cc=qbarnes@urbana.css.mot.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).