Commit ffadcf09 authored by Andi Kleen's avatar Andi Kleen Committed by Arnaldo Carvalho de Melo

perf annotate: Handle XBEGIN like a jump

So that the browser still shows the abort label.
Signed-off-by: default avatarAndi 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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 688b2c2f
...@@ -401,6 +401,8 @@ static struct ins instructions[] = { ...@@ -401,6 +401,8 @@ static struct ins instructions[] = {
{ .name = "testb", .ops = &mov_ops, }, { .name = "testb", .ops = &mov_ops, },
{ .name = "testl", .ops = &mov_ops, }, { .name = "testl", .ops = &mov_ops, },
{ .name = "xadd", .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) static int ins__cmp(const void *name, const void *insp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment