]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit728c1175e323548e3ce6fc95d0f576847445218b
treed1de3c2c7ff971b7ae810c0733d7df775beb21af
parentdd2d79de7ad72a5cd83f96df849dea70ff2a4ff8
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