perf script: Do not print dangling '=>' for BTS
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 22 Jul 2014 13:17:16 +0000 (16:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Jul 2014 14:18:00 +0000 (11:18 -0300)
commit578bea40058b68f83658827c2b68a596b08419fc
tree7eb58449163f72cc13fd49748166bd0a8b60009b
parent8066be5fe755e95ee6a858bbcf4e6b9e933e1866
perf script: Do not print dangling '=>' for BTS

When using:

perf record -e branches:u -c1 usleep 1
perf script -f ip

lines are displayed like:

ffffffff813b23d5 =>

Change so that the dangling '=>' does not appear.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
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/r/1406035081-14301-8-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c