perf annotate browser: Compact 'nop' output
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 May 2012 21:57:02 +0000 (18:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 May 2012 22:00:42 +0000 (19:00 -0300)
commitb9818e93759c30c8942391f4f5fadaa36659ee33
treed1de3c2c7ff971b7ae810c0733d7df775beb21af
parent5417072bf6b17eaa31f21f12906f381f148b5200
perf annotate browser: Compact 'nop' output

Just suppress the nop operands, future infrastructure that will record
the instruction lenght (and its contents) in struct ins will allow
rendering them as nopN, i.e. nop5 for a 5-byte nop.

Suggested-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-qddbeglfzqdlal8vj2yaj67y@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c