Re: How to compare two oprofile collected stats/logs
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 01/19/2015 09:57 AM, Nagesh Lagishetty wrote: > Hi, > > To debug a performance issue, I ran the oprofile on working image and faulty image. > > root> opcontrol --start --no-vmlinux --separate=lib --callgraph 5 > <run the application> > root> opcontrol –-stop > root> opcontrol --dump > root> opreport -l > root> opcontrol --shutdown > > Now i have both working and faulty image stats, how to compare both? > > root> opreport /flash/oprofile_working_image /flash/oprofile_issue_image > Using /var/lib/oprofile/samples/ for samples directory. > WARNING! The OProfile kernel driver reports sample buffer overflows. > Such overflows can result in incorrect sample attribution, invalid sample > files and other symptoms. See the oprofiled.log for details. > You should adjust your sampling frequency to eliminate (or at least minimize) > these overflows. > error: no sample files found: profile specification too strict ? > > > Please provide the input. > > Thanks in advance. Hi Nagesh, Take a look at "2.4. Differential profiles with opreport" in http://oprofile.sourceforge.net/doc/opreport.html you will need to save each of the data collection runs with oparchive (http://oprofile.sourceforge.net/doc/oparchive.html). It is expecting the executable to be the same. So you will probably need to make one run with the good executable use oparchive, then change the executable to the bad executable, oparchive to save the data, then do the opreport on the archives. -Will > > Nagesh > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > > > > _______________________________________________ > oprofile-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oprofile-list > ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet