#159 differential profile broken in 0.9.3

closed-fixed
None
5
2008-07-17
2007-10-25
Philippe Elie
No

Fixed in cvs, 0.9.2 should work too.

Discussion

  • Philippe Elie
    Philippe Elie
    2007-10-25

    • status: open --> open-fixed
     
  • Logged In: YES
    user_id=1355714
    Originator: NO

    Philippe's update to this bug says this was fixed in cvs. However, when I tested with current CVS code, I got the error message "error: no sample files found: profile specification too strict ?". The specific command I used was:
    opreport -l ./my_testcase { archive:./orig } { }

    If I removed the image specification from the above command, I did indeed get a correct differential profile report. I found a bug in libpp/profile_spec.cpp in how it was handling image specifications for a profile spec that had a non-null archive path. The image spec file list was being processed (and "fixup" attempted) before the archive path was established on the profile_spec's extra_found_images member. The patch that fixes this was committed. See http://marc.info/?l=oprofile-commits&m=121129660026177&w=2.

     
    • assigned_to: phil_e --> maynardj
     
    • status: open-fixed --> closed-fixed