Re: [PATCHv3] perf bpf: Fix endianness problem when loading parameters in prologue

2017-08-16 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 16, 2017 at 07:56:45AM +0200, Thomas-Mich Richter escreveu: > On 08/15/2017 05:25 PM, Arnaldo Carvalho de Melo wrote: > > Ok, I'm applying this, the only missing bit was the following line, > > right at the start of the patch message body; > > From: Wang Nan > > To state that the pat

Re: [PATCHv3] perf bpf: Fix endianness problem when loading parameters in prologue

2017-08-15 Thread Thomas-Mich Richter
On 08/15/2017 05:25 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 15, 2017 at 11:21:59AM +0200, Thomas Richter escreveu: > > Ok, I'm applying this, the only missing bit was the following line, > right at the start of the patch message body; > > From: Wang Nan > > To state that the patch was

Re: [PATCHv3] perf bpf: Fix endianness problem when loading parameters in prologue

2017-08-15 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 15, 2017 at 11:21:59AM +0200, Thomas Richter escreveu: Ok, I'm applying this, the only missing bit was the following line, right at the start of the patch message body; From: Wang Nan To state that the patch was wrote by Wang, the fact that you participated in it with some adjustmen

[PATCHv3] perf bpf: Fix endianness problem when loading parameters in prologue

2017-08-15 Thread Thomas Richter
Perf BPF prologue generator unconditionally fetches 8 bytes for function parameters, which causes problem on big endian machine. Thomas gives a detail analysis for this problem: http://lkml.kernel.org/r/968ebda5-abe4-8830-8d69-49f62529d...@linux.vnet.ibm.com This patch parses the type of each a