[Beowulf] stace_analyzer.pl can't work.
hahn at mcmaster.ca
Tue Sep 16 00:13:53 EDT 2008
> It throws an error likes:Argument "" isn't numeric in addition (+) at
> ./strace_analyzer.pl line 310, <> line 409105.
> Have you experienced this? and resolved?
I think the parser could be improved. in this case, it seems to be
choking on lines like:
23:34:13.502857 read(7, 0xbfffc670, 32) = -1 EAGAIN (Resource temporarily unavailable)
on 310, junk="unavailable" - the code should handle -1 specially,
since it shouldn't be accumulated to $ReadBytesTotal.
> BTW:I've install the perl module strict and Getopt::long, and the tool
> exhausts my laptop's memory(1.2G) while running.
I guess the code isn't intended to profile >409105-line traces on a laptop ;)
it's a WIP, and stores a lot of stuff that it doesn't currently use, and
could probably be stored more compactly...
regards, mark hahn.
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
More information about the Beowulf