This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dwarflint --stats


20.09.2010 18:31, Jakub Jelinek wrote:
> On Mon, Sep 20, 2010 at 03:06:39PM +0200, Jakub Jelinek wrote:
>> Unfortunately it doesn't work too well with trunk gcc because of
>> implicit_pointer.
>> I've tried to patch
>
> My fault, telling it that DW_OP_GNU_implicit_pointer has just one operand
> obviously isn't a good idea.  This one of course works better.

Thanks.

> OT, is there a way to request numbers of 0.0% and 100% coverage separately
> (so that 0.1% and 99.99% coverages get attributed to other lines)?

Yes for 100%, not for 0% (it uses normal integer division).  I added the 
possibility of requesting sharp 0% coverage, you can now use "0.0" as a 
tabulation stop.  --locstats:tabulate=0.0:10,99 now makes separate 
bucket for 0.0, then 0..10 etc and another separate bucket for 100%. 
It's on dwarf branch.

PM

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]