summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sort.h
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2014-05-27 12:28:05 -0400
committerJiri Olsa <jolsa@kernel.org>2014-06-09 13:34:48 +0200
commit7365be55eee37ddb4f487263b4ba5bc8beb9638f (patch)
tree68553be73f483fb513b60699bcdce26409892449 /tools/perf/util/sort.h
parent75e906c9601aee73b88d6e6dc02371f8c3ca24d7 (diff)
downloadlinux-7365be55eee37ddb4f487263b4ba5bc8beb9638f.tar.bz2
perf tools: Add cpumode to struct hist_entry
The next patch needs to sort on cpumode, so add it to hist_entry to be tracked. Signed-off-by: Don Zickus <dzickus@redhat.com> Link: http://lkml.kernel.org/r/1401208087-181977-6-git-send-email-dzickus@redhat.com Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/util/sort.h')
-rw-r--r--tools/perf/util/sort.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h
index 5bf0098d6b06..6de22f838854 100644
--- a/tools/perf/util/sort.h
+++ b/tools/perf/util/sort.h
@@ -89,6 +89,7 @@ struct hist_entry {
u64 ip;
u64 transaction;
s32 cpu;
+ u8 cpumode;
struct hist_entry_diff diff;