Commit-ID:  ffadcf090d468e9c4938b718649f38dd10cfdb02
Gitweb:     http://git.kernel.org/tip/ffadcf090d468e9c4938b718649f38dd10cfdb02
Author:     Andi Kleen <[email protected]>
AuthorDate: Tue, 30 Oct 2012 17:34:08 -0700
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 31 Oct 2012 12:18:26 -0200

perf annotate: Handle XBEGIN like a jump

So that the browser still shows the abort label.

Signed-off-by: Andi Kleen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: 
http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
 tools/perf/util/annotate.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index 7a34dd1..b14d4df 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to