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>
This commit is contained in:
parent
75e906c960
commit
7365be55ee
|
@ -439,9 +439,10 @@ struct hist_entry *__hists__add_entry(struct hists *hists,
|
||||||
.map = al->map,
|
.map = al->map,
|
||||||
.sym = al->sym,
|
.sym = al->sym,
|
||||||
},
|
},
|
||||||
.cpu = al->cpu,
|
.cpu = al->cpu,
|
||||||
.ip = al->addr,
|
.cpumode = al->cpumode,
|
||||||
.level = al->level,
|
.ip = al->addr,
|
||||||
|
.level = al->level,
|
||||||
.stat = {
|
.stat = {
|
||||||
.nr_events = 1,
|
.nr_events = 1,
|
||||||
.period = period,
|
.period = period,
|
||||||
|
|
|
@ -89,6 +89,7 @@ struct hist_entry {
|
||||||
u64 ip;
|
u64 ip;
|
||||||
u64 transaction;
|
u64 transaction;
|
||||||
s32 cpu;
|
s32 cpu;
|
||||||
|
u8 cpumode;
|
||||||
|
|
||||||
struct hist_entry_diff diff;
|
struct hist_entry_diff diff;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue