The -p option does not properly accept 'call_tree'
Bug #184946 reported by
Benjamin Kudria
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-prof (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: ruby-prof
The script /usr/bin/ruby-prof is missing a conditional when parsing the -p option, and thus -p call_tree acts exactly the same as -p flat . This is incorrect behavior, and simply adding the conditional restores proper behavior. The call_tree format is a standardized format most commonly parsed by KDE's KCacheGrind. A simple patch to /usr/bin/ruby-prof is attached.
To post a comment you must log in.
To get your fix (or workaround) included in Ubuntu, try transforming it into a patch (http:// wiki.ubuntu. com/PackagingGu ide/Recipes/ Debdiff) and submitting it for review (http:// wiki.ubuntu. com/Sponsorship Process).