aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2012-10-31 00:34:08 +0000
committerArnaldo Carvalho de Melo <[email protected]>2012-10-31 14:18:26 +0000
commitffadcf090d468e9c4938b718649f38dd10cfdb02 (patch)
tree5a62de8c8cf9c47d2c27e933e68a9d9a5e877990 /tools/perf/util/annotate.c
parentperf tools: Handle --version string generation on machines without git (diff)
downloadkernel-ffadcf090d468e9c4938b718649f38dd10cfdb02.tar.gz
kernel-ffadcf090d468e9c4938b718649f38dd10cfdb02.zip
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]>
Diffstat (limited to 'tools/perf/util/annotate.c')
-rw-r--r--tools/perf/util/annotate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index 7a34dd18b74c..b14d4df9f149 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)