]> 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)
commit35c0e74b967fc836d2d7d1f49d8a53df287234fa
treed1de3c2c7ff971b7ae810c0733d7df775beb21af
parent8ed0ca4963eb446e495547969c4be76bcb220831
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