comparing java profiles using analyzer

I have a couple of Java profiles collected using Sun studio collector and I want to compare and see differences between them. That is, which Java method is taking more/less time in profile2 vs profile1. I could not find any way to do so in Sun studio Analyzer. If there is some way, please let me know.

[309 byte] By [deep.singha] at [2007-11-26 16:45:39]
# 1
Well you can allways use sdiff of 2 er_print outputs.
horsha at 2007-7-8 23:12:59 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Unfortunately, there is no way to compare two experiments in Analyzer.The best I can suggest is to use the command line utility, er_print, and postprocess its output for experiments to be compared.-- Oleg
Oleg.Mazurova at 2007-7-8 23:12:59 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

I tried using er_print from Sun Studio version 10 & 11 and both bailed out giving me this error:

"no log file in experiment"

This is the command I fired off:

er_print -outfile er_print.out -functions test.1.er

I can see a log.xml in the experiment (if that is what er_print is looking for). So to validate if experiement was done right, I ran Analyzer on it. Except for a message on warnings during collection (mostly due to missing patches), Analyzer could open the experiment and I could browse through all the data.

deep.singha at 2007-7-8 23:12:59 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
Too many versions. You apparently used a newer version of collect to record the experiment (the log.xml file was introduced after v.11) . The older er_print and analyzer won't work on it. Use -V flag to check versions of all components.
Oleg.Mazurova at 2007-7-8 23:12:59 > top of Java-index,Development Tools,Solaris and Linux Development Tools...