Hi, I have fixed the problem now. It was due to the fact that we now tag samples with pid/tid when they are added to hash table. But in aggregation, you want to ignore pid/tid. So the patch makes pid/tid anonymous. Also found a serialization problem.
Pull pfmon from CVS and try again. Let me know if it works. Thanks. On Wed, Dec 17, 2008 at 9:23 PM, stephane eranian <eran...@googlemail.com> wrote: > Hi, > > > On Wed, Dec 17, 2008 at 3:02 PM, Hucheng Zhou <zhou.huch...@gmail.com> wrote: >> Hi Eranian: >> Why not the pfmon cannot aggregate the sampling number based on the same >> ip address? Like the following sampling result, where IP addresses are the >> same, 0x0000003ab6076edf. >> >> 124 14.34% 14.34% 0x0000003ab6076edf memcpy+0x3f</lib64/libc-2.5.so> >> 118 13.64% 27.98% 0x0000003ab6076edf memcpy+0x3f</lib64/libc-2.5.so> >> 109 12.60% 40.58% 0x0000003ab6076edf memcpy+0x3f</lib64/libc-2.5.so> >> 90 10.40% 50.98% 0x0000003ab6076edf memcpy+0x3f</lib64/libc-2.5.so> >> 77 8.90% 59.88% 0x0000003ab6076edf memcpy+0x3f</lib64/libc-2.5.so> >> 39 4.51% 64.39% 0x0000003ab6076ed7 memcpy+0x37</lib64/libc-2.5.so> > > It should be able to do that. Looks like a bug, probably related to > the --aggr-results. > >> The pfmon command line is >> pfmon --follow-all --aggregate-results -e MEM_LOAD_RETIRED:L2_MISS >> --no-cmd-output --with-header --smpl-module=pebs --short-smpl-periods=20011 >> --long-smpl-periods=50021 --resolve-addresses --overflow-block >> --smpl-entries=2000000 >> --smpl-outfile=164.gzip-MEM_LOAD_RETIRED:L2_MISS-sampling -- >> /home/zhc/speccpu/bin/specinvoke -d >> /home/zhc/speccpu/benchspec/CINT2000/164.gzip/run/00000020 -e speccmds.err >> -o speccmds.out -f speccmds.cmd >> >> Thanks. >> -- >> Institute of High Performance Computing, >> >> Department of Computer Science and Technology, >> >> Tsinghua University, Beijing, China, 100084. >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> perfmon2-devel mailing list >> perfmon2-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel >> >> > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel