Skip Menu |

This queue is for tickets about the Devel-FastProf CPAN distribution.

Report information
The Basics
Id: 23821
Status: rejected
Priority: 0/
Queue: Devel-FastProf

People
Owner: Nobody in particular
Requestors: david.pitt [...] nab.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: salva [...] cpan.org, sfandino [...] yahoo.com
Subject: Devel-FastProg bug report - use fcntl not flock
Date: Wed, 6 Dec 2006 12:50:32 +1100
To: bug-Devel-FastProf [...] rt.cpan.org
From: David.Pitt [...] nab.com.au
Hi Salvador, I attempted to build Devel-FastProf 0.05 with Perl 5.8.8 on Solaris 8 (SunOS 5.8), it fails because FastProf.xs uses the unsupported BSD flock(3) function for file locking. Attached is a patch to use more portable fcntl(2) for file locking: (See attached file: FastProf.xs.diff.txt) and the patched file: (See attached file: FastProf.xs) The fix passes 'make test', and some rudimentary tests involving forked processes. Hope this helps. Regards, David Pitt | Enterprise Services Technology | National Australia Bank Limited Phone +61 3 8641 2014 | Email david.pitt@nab.com.au | Level 6, 500 Bourke Street, Melbourne National Australia Bank Ltd - ABN 12 004 044 937 This email may contain confidential information. If you are not the intended recipient, please immediately notify us at postmaster@nab.com.au or by replying to the sender, and then destroy all copies of this email. Except where this email indicates otherwise, views expressed in this email are those of the sender and not of National Australia Bank Ltd. Advice in this email does not take account of your objectives, financial situation, or needs. It is important for you to consider these matters and, if the e-mail refers to a product(s), you should read the relevant Product Disclosure Statement(s)/other disclosure document(s) before making any decisions. If you do not want email marketing from us in future, forward this email with "unsubscribe" in the subject line to Unsubscriptions@nab.com.au in order to stop marketing emails from this sender. National Australia Bank Ltd does not represent that this email is free of errors, viruses or interference.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Thank you for the module Salvador, and thank you for the patch David. I used the patch to compile Devel::FastProf 0.08 on VMS.
Subject: Re: [rt.cpan.org #23821] Devel-FastProg bug report - use fcntl not flock
Date: Fri, 18 Jul 2008 14:33:13 -0700
To: Peter John Edwards via RT <bug-Devel-FastProf [...] rt.cpan.org>
From: Tim Bunce <Tim.Bunce [...] pobox.com>
On Fri, Jul 18, 2008 at 12:30:13PM -0400, Peter John Edwards via RT wrote: Show quoted text
> Queue: Devel-FastProf > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23821 > > > Thank you for the module Salvador, and thank you for the patch David. > I used the patch to compile Devel::FastProf 0.08 on VMS.
You might want to look at Devel::NYTProf. It doesn't use locking when profiling apps that fork, so runs much faster. http://blog.timbunce.org/2008/07/15/nytprof-v2-a-major-advance-in-perl-profilers/ http://blog.timbunce.org/2008/07/16/nytprof-v2-the-background-story/ Tim.
Subject: Re: [rt.cpan.org #23821] Devel-FastProg bug report - use fcntl not flock
Date: Tue, 22 Jul 2008 09:56:18 +1000
To: bug-Devel-FastProf [...] rt.cpan.org
From: David.Pitt [...] nab.com.au
Thanks Tim. Nice to see RT working so well. I got an update a few weeks ago on a bug I raised over four years ago - impressive! David Pitt | Enterprise Services Technology | National Australia Bank Limited Phone +61 3 8641 2014 | Email david.pitt@nab.com.au | Level 26, 500 Bourke Street, Melbourne "Tim Bunce via RT" <bug-Devel-FastPr To of@rt.cpan.org> david.pitt@nab.com.au cc 19/07/2008 07:34 AM Subject Re: [rt.cpan.org #23821] Devel-FastProg bug report - use Please respond to fcntl not flock bug-Devel-FastPro f@rt.cpan.org <URL: http://rt.cpan.org/Ticket/Display.html?id=23821 > On Fri, Jul 18, 2008 at 12:30:13PM -0400, Peter John Edwards via RT wrote: Show quoted text
> Queue: Devel-FastProf > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23821 > > > Thank you for the module Salvador, and thank you for the patch David. > I used the patch to compile Devel::FastProf 0.08 on VMS.
You might want to look at Devel::NYTProf. It doesn't use locking when profiling apps that fork, so runs much faster. http://blog.timbunce.org/2008/07/15/nytprof-v2-a-major-advance-in-perl-profilers/ http://blog.timbunce.org/2008/07/16/nytprof-v2-the-background-story/ Tim. National Australia Bank Ltd - ABN 12 004 044 937 This email may contain confidential information. If you are not the intended recipient, please immediately notify us at postmaster@nab.com.au or by replying to the sender, and then destroy all copies of this email. Except where this email indicates otherwise, views expressed in this email are those of the sender and not of National Australia Bank Ltd. Advice in this email does not take account of your objectives, financial situation, or needs. It is important for you to consider these matters and, if the e-mail refers to a product(s), you should read the relevant Product Disclosure Statement(s)/other disclosure document(s) before making any decisions. If you do not want email marketing from us in future, forward this email with "unsubscribe" in the subject line to Unsubscriptions@nab.com.au in order to stop marketing emails from this sender. National Australia Bank Ltd does not represent that this email is free of errors, viruses or interference.
This module has been superseded by Devel::NYTProf