[PATCH 18/31] perf, tools: Handle XBEGIN like a jump

2012-10-02 Thread Andi Kleen
From: Andi Kleen 

So that the browser still shows the abort label

Signed-off-by: Andi Kleen 
---
 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 f0a9103..a34a1ae 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -400,6 +400,8 @@ static struct ins instructions[] = {
{ .name = "testb", .ops  = _ops, },
{ .name = "testl", .ops  = _ops, },
{ .name = "xadd",  .ops  = _ops, },
+   { .name = "xbeginl", .ops  = _ops, },
+   { .name = "xbeginq", .ops  = _ops, },
 };
 
 static int ins__cmp(const void *name, const void *insp)
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 18/31] perf, tools: Handle XBEGIN like a jump

2012-10-02 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com

So that the browser still shows the abort label

Signed-off-by: Andi Kleen a...@linux.intel.com
---
 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 f0a9103..a34a1ae 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -400,6 +400,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)
-- 
1.7.7.6

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/