Commit 1c696b97 authored by Committed by Greg Kroah-Hartman
perf cpu_map: Align cpu map synthesized events properly.
[ 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 <firstname.lastname@example.org> Cc: Jiri Olsa <email@example.com> Cc: Kan Liang <firstname.lastname@example.org> Fixes: 6c872901 ("perf cpu_map: Add cpu_map event synthesize function") Link: http://email@example.comSigned-off-by: Arnaldo Carvalho de Melo <firstname.lastname@example.org> Signed-off-by: Sasha Levin <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 1 addition and 0 deletions