lkml.org 
[lkml]   [2017]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf report: Fix broken arrow at row 0 in annotate view
Em Thu, Jun 08, 2017 at 02:01:44PM +0800, Jin Yao escreveu:
> When the jump instruction is displayed at the row 0 in annotate view,
> the arrow is broken. An example:
>
> 16.86 │ ┌──je 82
> 0.01 │ movsd (%rsp),%xmm0
> │ movsd 0x8(%rsp),%xmm4
> │ movsd 0x8(%rsp),%xmm1
> │ movsd (%rsp),%xmm3
> │ divsd %xmm4,%xmm0
> │ divsd %xmm3,%xmm1
> │ movsd (%rsp),%xmm2
> │ addsd %xmm1,%xmm0
> │ addsd %xmm2,%xmm0
> │ movsd %xmm0,(%rsp)
> │82: sub $0x1,%ebx
> 83.03 │ ↑ jne 38
> │ add $0x10,%rsp
> │ xor %eax,%eax
> │ pop %rbx
> │ ← retq
>
> The patch increments the row number before checking with 0.

Thanks, tested and applied!

- Arnaldo

\
 
 \ /
  Last update: 2017-07-07 16:22    [W:0.051 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site