#57 oprofpp needs samples on executable


OProfile allows samples for shared libraries to be
attributed to individual executables with the
"--separate-samples". For a program that spends a
majority of its time in the shared libraries, e.g.
mozilla, there may be samples for the shared libraries,
but not be any samples for the main executable. The
file search logic for oprofpp fails when there are
samples for the shared library, but no samples for the
main executable. When this occurs something like the
following error message is printed.

oprofpp: Opening
failed. No such file or directory

Better behavior would be for oprofpp to assume there
are zero samples on the executable and not give an
error. For some events it would be possible that they
were never observed during the execution of the
program, e.g. use of mmx or floating point instructions.



  • Philippe Elie

    Philippe Elie - 2002-05-13
    • assigned_to: nobody --> phil_e
  • Philippe Elie

    Philippe Elie - 2002-05-15
    • status: open --> open-fixed
  • Philippe Elie

    Philippe Elie - 2002-05-15

    Logged In: YES

    fixed in cvs, in a slightly different way, when you
    request from app and shared lib from a profiling
    session with --separate-samples and the application
    don't get any samples, the application is just ignored
    and so on you see report only for shared libs


  • John Levon

    John Levon - 2002-07-25
    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks