public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Backward compatibility for insn probe point
@ 2009-04-01 21:59 Maynard Johnson
  2009-04-27 21:01 ` David Smith
  0 siblings, 1 reply; 16+ messages in thread
From: Maynard Johnson @ 2009-04-01 21:59 UTC (permalink / raw)
  To: systemtap; +Cc: Frank Ch. Eigler

Frank has already made the changes in runtime/itrace.c to support backward compatibility with older utrace.  I wanted to test the insn probe point on an older utrace, so I built and installed systemtap 0.9.5 on a ppc970 blade running RHEL 5.3.  I ran the following simple test:

# stap -c /bin/ls simple-test.stp /bin/ls -o simple-out -k -vvv 
     where simple-test.stp is . . .
=========simple-test.stp ========================
global instrs = 0

probe begin {
	printf("systemtap starting probe\n")
}

probe process(@1).insn {
	instrs += 1
}

probe end { printf("systemtap ending probe\n")
printf("itraced = %d\n", instrs)
}
==================================

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?

Thanks.
-Maynard

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-05-15 13:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 21:59 Backward compatibility for insn probe point 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
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

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).