summaryrefslogtreecommitdiff
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2013-09-20 18:40:41 +0400
committerIngo Molnar <mingo@kernel.org>2013-10-04 12:06:09 +0400
commitf5d05bcec409aec2c41727077ad818f7c4db005b (patch)
treec34d1c83b5a5927ea4dd1526e974a436cd2c825a /tools/perf/perf.h
parenta405bad5ad2086766ce320b16a56952e013327f8 (diff)
downloadlinux-f5d05bcec409aec2c41727077ad818f7c4db005b.tar.xz
tools/perf: Support sorting by in_tx or abort branch flags
Extend the perf branch sorting code to support sorting by in_tx or abort_tx qualifiers. Also print out those qualifiers. This also fixes up some of the existing sort key documentation. We do not support no_tx here, because it's simply not showing the in_tx flag. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1379688044-14173-4-git-send-email-andi@firstfloor.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r--tools/perf/perf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index cf20187eee0a..acf3d665474d 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -182,7 +182,9 @@ struct ip_callchain {
struct branch_flags {
u64 mispred:1;
u64 predicted:1;
- u64 reserved:62;
+ u64 in_tx:1;
+ u64 abort:1;
+ u64 reserved:60;
};
struct branch_entry {