[PATCH AUTOSEL 4.9 07/13] perf cpu_map: Align cpu map synthesized events properly.

2018-10-30 Thread Sasha Levin
From: David Miller [ Upstream commit 0ed149cf5239cc6e7e65bf00f769e8f1e91076c0 ] The size of the resulting cpu map can be smaller than a multiple of sizeof(u64), resulting in SIGBUS on cpus like Sparc as the next event will not be aligned properly. Signed-off-by: David S. Miller Cc: Jiri Olsa

[PATCH AUTOSEL 4.9 07/13] perf cpu_map: Align cpu map synthesized events properly.

2018-10-30 Thread Sasha Levin
From: David Miller [ Upstream commit 0ed149cf5239cc6e7e65bf00f769e8f1e91076c0 ] The size of the resulting cpu map can be smaller than a multiple of sizeof(u64), resulting in SIGBUS on cpus like Sparc as the next event will not be aligned properly. Signed-off-by: David S. Miller Cc: Jiri Olsa