#76 sample file naming with separate samples

closed-fixed
nobody
None
5
2002-11-06
2002-09-18
William Cohen
No

The current cvs version of oprofiled run with
"--separate-samples=1" is screwing up the file names
for the samples; it is repeating the application name
in the file name. For example:

}usr}sbin}sshd}}}usr}sbin}sshd#0
}usr}sbin}sshd}}}usr}sbin}sshd#2

Shouldn't these be the following?

}usr}sbin}sshd#0
}usr}sbin}sshd#2

-Will

Discussion

  • William Cohen
    William Cohen
    2002-09-18

    Logged In: YES
    user_id=542804

    How about this change to op_mangle_filename()?

    2002-09-18 Will Cohen <wcohen@redhat.com>

    *libop/op_mangle.c (op_mangle_filename): Correct logic for
    generating mangled name.

     
  • William Cohen
    William Cohen
    2002-09-18

     
    Attachments
  • Philippe Elie
    Philippe Elie
    2002-09-18

    Logged In: YES
    user_id=318973

    Ok, thanks for the quick fix, I'll apply it with a minor
    reformating.
    This bug come from recent change to dae app_name crappy stuff.

    Bug entry assigned to Will.

    regards,
    Phil

     
  • Philippe Elie
    Philippe Elie
    2002-09-18

    • status: open --> open-fixed
     
  • John Levon
    John Levon
    2002-11-06

    • status: open-fixed --> closed-fixed