Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7365be55 authored by Don Zickus's avatar Don Zickus Committed by Jiri Olsa
Browse files

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: default avatarDon Zickus <dzickus@redhat.com>
Link: http://lkml.kernel.org/r/1401208087-181977-6-git-send-email-dzickus@redhat.com


Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
parent 75e906c9
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -440,6 +440,7 @@ struct hist_entry *__hists__add_entry(struct hists *hists,
			.sym	= al->sym,
		},
		.cpu	 = al->cpu,
		.cpumode = al->cpumode,
		.ip	 = al->addr,
		.level	 = al->level,
		.stat = {
+1 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@ struct hist_entry {
	u64			ip;
	u64			transaction;
	s32			cpu;
	u8			cpumode;

	struct hist_entry_diff	diff;