Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-09-01 Thread Jon Medhurst (Tixy)
On Sat, 2014-08-30 at 09:28 +0800, Wang Nan wrote: > On 2014/8/29 16:47, Jon Medhurst (Tixy) wrote: > > On Thu, 2014-08-28 at 11:24 +0100, Will Deacon wrote: > >> On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote: > >>> On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramat

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-29 Thread Wang Nan
On 2014/8/29 16:47, Jon Medhurst (Tixy) wrote: > On Thu, 2014-08-28 at 11:24 +0100, Will Deacon wrote: >> On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote: >>> On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote: (2014/08/27 22:02), Wang Nan wrote: > Th

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-29 Thread Jon Medhurst (Tixy)
On Thu, 2014-08-28 at 11:24 +0100, Will Deacon wrote: > On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote: > > On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote: > > > (2014/08/27 22:02), Wang Nan wrote: > > > > This patch improves arm instruction decoder, allo

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-28 Thread Will Deacon
On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote: > On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote: > > (2014/08/27 22:02), Wang Nan wrote: > > > This patch improves arm instruction decoder, allows it check whether an > > > instruction is a stack store oper

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-28 Thread Russell King - ARM Linux
On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote: > (2014/08/27 22:02), Wang Nan wrote: > > This patch improves arm instruction decoder, allows it check whether an > > instruction is a stack store operation. This information is important > > for kprobe optimization. > > > > For nor

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-28 Thread Masami Hiramatsu
(2014/08/27 22:02), Wang Nan wrote: > This patch improves arm instruction decoder, allows it check whether an > instruction is a stack store operation. This information is important > for kprobe optimization. > > For normal str instruction, this patch add a series of _SP_STACK > register indicator

[PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-27 Thread Wang Nan
This patch improves arm instruction decoder, allows it check whether an instruction is a stack store operation. This information is important for kprobe optimization. For normal str instruction, this patch add a series of _SP_STACK register indicator in the decoder to test the base and offset regi