The -p option does not properly accept 'call_tree'

Bug #184946 reported by Benjamin Kudria
4
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.

Revision history for this message
Benjamin Kudria (bkudria) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

To get your fix (or workaround) included in Ubuntu, try transforming it into a patch (http://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff) and submitting it for review (http://wiki.ubuntu.com/SponsorshipProcess).

Revision history for this message
Benjamin Kudria (bkudria) wrote :

Thanks, Daniel, I'll follow these steps.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Setting to incomplete for now - set back to 'new' if you've attached the debdiff and subscribed the sponsoring team.

Changed in ruby-prof:
status: New → Incomplete
Revision history for this message
Benjamin Kudria (bkudria) wrote :

The debdiff to fix the bug is attached.

Revision history for this message
Benjamin Kudria (bkudria) wrote :
Changed in ruby-prof:
status: Incomplete → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

Fixed in 0.5.2-1ubuntu1.

Thank you for your contribution, I've uploaded it.
I've found a minor issue (lintian warning about the Standards-Version) and fixed it right away.
Unfortunately, I "hijacked" your upload this way, instead of really sponsoring it (it does not appear as uploaded by you now).
I should have rather asked you to change your debdiff or just ignore this minor issue in there.
This is especially annoying, because I've overlooked the missing "LP: #184946" reference in debian/changelog. Argh..
Sorry that I've messed up your first debdiff/request for sponsorship.

But at least it's now fixed in Ubuntu. Thank you.
Please submit the patch to upstream and/or Debian. You can use the "submittodebian" script from the ubuntu-dev-tools package to do this.

Changed in ruby-prof:
importance: Undecided → Medium
status: Confirmed → Fix Released
Revision history for this message
Benjamin Kudria (bkudria) wrote : Re: [Bug 184946] Re: The -p option does not properly accept 'call_tree'

On Thursday, January 31 2008, Daniel Hahler wrote:
> Fixed in 0.5.2-1ubuntu1.
>
> Thank you for your contribution, I've uploaded it.
> I've found a minor issue (lintian warning about the Standards-Version) and
> fixed it right away. Unfortunately, I "hijacked" your upload this way,
> instead of really sponsoring it (it does not appear as uploaded by you
> now). I should have rather asked you to change your debdiff or just ignore
> this minor issue in there. This is especially annoying, because I've
> overlooked the missing "LP: #184946" reference in debian/changelog. Argh..
> Sorry that I've messed up your first debdiff/request for sponsorship.

It's ok, it's no big deal.

> But at least it's now fixed in Ubuntu. Thank you.
> Please submit the patch to upstream and/or Debian. You can use the
> "submittodebian" script from the ubuntu-dev-tools package to do this.

All done.

Thanks for the help!

-Ben

--
http://ben.kudria.net | Jabber: <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.