On Tue, 2017-04-11 at 01:51:05 UTC, Madhavan Srinivasan wrote: > From: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com> > > perf_mem_data_src is an union that is initialized via the ->val field > and accessed via the bitmap fields. For this to work on big endian > platforms (Which is broken now), we also need a big-endian represenation > of perf_mem_data_src. i.e, in a big endian system, if user request > PERF_SAMPLE_DATA_SRC (perf report -d), will get the default value from > perf_sample_data_init(), which is PERF_MEM_NA. Value for PERF_MEM_NA > is constructed using shifts: ... > > Signed-off-by: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com> > Signed-off-by: Madhavan Srinivasan <ma...@linux.vnet.ibm.com> > Acked-by: Peter Zijlstra (Intel) <pet...@infradead.org>
Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/8c5073db0ee680c7e70e123918c9b2 cheers