9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] interleaved output of ratrace
@ 2014-07-22  0:41 Nick Owens
  2014-07-22 17:06 ` Bakul Shah
  2014-07-22 21:16 ` cinap_lenrek
  0 siblings, 2 replies; 4+ messages in thread
From: Nick Owens @ 2014-07-22  0:41 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

hello,

i'm trying to use ratrace to debug a go binary.
what i don't understand is why records of syscalls sometimes appear on
top of one another.

here's the output of 'ratrace -c ./strings.test >[2]/tmp/ratrace.log',
where strings.test is made with 'go test -c strings'.

http://sprunge.us/aCBG

you can see in several places that more than one syscall record is
printed on the same line.

i find this quite odd since in /sys/src/cmd/ratrace.c:/^writer all
output comes from a channel.

i'm running this on 9front/amd64, but i'd appreciate if anyone can test
on other systems.


[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2014-07-22 21:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22  0:41 [9fans] interleaved output of ratrace Nick Owens
2014-07-22 17:06 ` Bakul Shah
2014-07-22 21:56   ` Nick Owens
2014-07-22 21:16 ` cinap_lenrek

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 NNTP newsgroup(s).