perf annotate: Parse instruction
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 15 Apr 2012 18:52:18 +0000 (15:52 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 16 Apr 2012 15:15:07 +0000 (12:15 -0300)
commit5145418b06fa907883ff1f62301d534a0d26ba18
treea4d5dcfcc6dd3d4cdc97da3cf5d45393e5f634c2
parent29ed6e76b4ca81103f31c8316f9e4cfcf134572f
perf annotate: Parse instruction

For lines with instructions find the name and operands, breaking those
tokens for consumption by the browser.

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