]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Show invalid jump offset in error message
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 Nov 2016 18:56:34 +0000 (15:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 Nov 2016 18:56:34 +0000 (15:56 -0300)
commit647ae545ddbdb3fc11d63b98180aad1a4df39db4
treea7a990c8899b0da5e601b26a9e9991c9043f22bb
parent6b1e041e2b000fa47685038fbd5b93fb6c10c809
perf annotate: Show invalid jump offset in error message

To help in debugging when the wrong offset is being used, like in:

       │13d98: ↓ jne    13dd1 <lzma_lzma_preset@@XZ_5.0+0x28e1>

That is the full line from objdump, and it seems what should be used is
13dd1, not 28e1.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-4nc0marsgst1ft6inmvqber7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c