diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-09-24 13:48:42 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-11-16 11:42:04 +0100 |
commit | 2565711fb7d7c28e0cd93c8971b520d1b10b857c (patch) | |
tree | ace1ace82ecd5f2490b65a20df5b1d781d8a62c3 /tools/perf/util | |
parent | 4b6c51773d86883a2e80cffadbe4f178ac1babd8 (diff) | |
download | op-kernel-dev-2565711fb7d7c28e0cd93c8971b520d1b10b857c.zip op-kernel-dev-2565711fb7d7c28e0cd93c8971b520d1b10b857c.tar.gz |
perf: Improve the perf_sample_data struct layout
This patch reorders fields in the perf_sample_data struct in order to
minimize the number of cachelines touched in perf_sample_data_init().
It also removes some intializations which are redundant with the code
in kernel/events/core.c
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1411559322-16548-7-git-send-email-eranian@google.com
Cc: cebbert.lkml@gmail.com
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: jolsa@redhat.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions