a Perl script to analyze xentrace data