perf annotate: Use raw form for register indirect call instructions
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 May 2012 15:28:55 +0000 (12:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 May 2012 15:28:55 +0000 (12:28 -0300)
commite8ea1561952b04276cf4c02500e363de76c142aa
treeb60503e278984acfefad56b391a027f8454a7e27
parent5dcefda0fd87fefa440abc9b9d3f1089229f8911
perf annotate: Use raw form for register indirect call instructions

   callq  *0x10(%rax)

was being rendered in simplified mode as:

   callq  *10

I.e. hexa, but without the 0x and omitting the register. In such cases
just use the raw form.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-m91tv004h2m1fkfgu6ovx3hb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c