Re: [PATCH] perf: Align cpu map events properly.

2018-10-16 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 11, 2018 at 10:46:55PM -0700, David Miller escreveu: > 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. > > Fixes: 6c872901af07 ("perf cpu_map: Add cpu_map event

Re: [PATCH] perf: Align cpu map events properly.

2018-10-16 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 11, 2018 at 10:46:55PM -0700, David Miller escreveu: > 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. > > Fixes: 6c872901af07 ("perf cpu_map: Add cpu_map event

[PATCH] perf: Align cpu map events properly.

2018-10-11 Thread David Miller
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. Fixes: 6c872901af07 ("perf cpu_map: Add cpu_map event synthesize function") Signed-off-by: David S. Miller diff --git

[PATCH] perf: Align cpu map events properly.

2018-10-11 Thread David Miller
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. Fixes: 6c872901af07 ("perf cpu_map: Add cpu_map event synthesize function") Signed-off-by: David S. Miller diff --git