perf annotate: Handle XBEGIN like a jump
authorAndi Kleen <ak@linux.intel.com>
Wed, 31 Oct 2012 00:34:08 +0000 (17:34 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 31 Oct 2012 14:18:26 +0000 (12:18 -0200)
So that the browser still shows the abort label.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1351643663-23828-18-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c

index 7a34dd1..b14d4df 100644 (file)
@@ -401,6 +401,8 @@ static struct ins instructions[] = {
        { .name = "testb", .ops  = &mov_ops, },
        { .name = "testl", .ops  = &mov_ops, },
        { .name = "xadd",  .ops  = &mov_ops, },
+       { .name = "xbeginl", .ops  = &jump_ops, },
+       { .name = "xbeginq", .ops  = &jump_ops, },
 };
 
 static int ins__cmp(const void *name, const void *insp)