Re: [RFC] Add --show-total-period for perf annotate

From: Martin LiÅka
Date: Mon Jun 01 2015 - 07:08:29 EST


This is a multi-part message in MIME format.On 05/29/2015 05:55 PM, Andi Kleen wrote:
> Martin LiÅka <mliska@xxxxxxx> writes:
>>
>> Following patch sums samples that belong to a line in assembly language.
>> What do you think about it, would it be acceptable solution?
>
> Basic patch looks good to me now. Thanks.
>
> The only ugly thing is the global variable, perhaps that could be
> cleaned up.
>
> -Andi
>

Hello.

You are right, the global variable is not needed anymore as we do not
count any fraction related to samples related to a line in assembly language.

Please look at attached patch.

Thank you,
Martin