From: Andi Kleen Date: Wed, 31 Oct 2012 00:34:08 +0000 (-0700) Subject: perf annotate: Handle XBEGIN like a jump X-Git-Tag: accepted/tizen/common/20141203.182822~3275^2~5^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffadcf090d468e9c4938b718649f38dd10cfdb02;p=platform%2Fkernel%2Flinux-arm64.git perf annotate: Handle XBEGIN like a jump So that the browser still shows the abort label. Signed-off-by: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1351643663-23828-18-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo --- 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)