Re: Re: [RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-09 Thread Masami Hiramatsu
(2014/12/09 18:14), Jon Medhurst (Tixy) wrote: [...] >>> diff --git a/arch/arm/probes/kprobes/core.c b/arch/arm/probes/kprobes/core.c >>> index 3a58db4..a4ec240 100644 >>> --- a/arch/arm/probes/kprobes/core.c >>> +++ b/arch/arm/probes/kprobes/core.c >>> @@ -163,19 +163,31 @@ void __kprobes arch_arm

Re: [RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-09 Thread Wang Nan
On 2014/12/9 14:47, Masami Hiramatsu wrote: > (2014/12/08 23:09), Wang Nan wrote: >> This patch introduce kprobeopt for ARM 32. >> >> Limitations: >> - Currently only kernel compiled with ARM ISA is supported. >> >> - Offset between probe point and optinsn slot must not larger than >>32MiB. M

Re: [RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-09 Thread Jon Medhurst (Tixy)
On Tue, 2014-12-09 at 10:14 +0800, Wang Nan wrote: > Hi all, > > Looks like v15 patch solves the problems found in patch v13 and v14. I run > Tixy's test > cases in a loop for a whole night on two real unpublished Hisilicon ARM A15 > SoCs (I > backported kprobes to 3.10 kernel), no problem arise

Re: [RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-09 Thread Jon Medhurst (Tixy)
On Tue, 2014-12-09 at 15:47 +0900, Masami Hiramatsu wrote: > (2014/12/08 23:09), Wang Nan wrote: > > This patch introduce kprobeopt for ARM 32. > > > > Limitations: > > - Currently only kernel compiled with ARM ISA is supported. > > > > - Offset between probe point and optinsn slot must not lar

Re: [RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-08 Thread Masami Hiramatsu
(2014/12/08 23:09), Wang Nan wrote: > This patch introduce kprobeopt for ARM 32. > > Limitations: > - Currently only kernel compiled with ARM ISA is supported. > > - Offset between probe point and optinsn slot must not larger than >32MiB. Masami Hiramatsu suggests replacing 2 words, it will

Re: [RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-08 Thread Wang Nan
Hi all, Looks like v15 patch solves the problems found in patch v13 and v14. I run Tixy's test cases in a loop for a whole night on two real unpublished Hisilicon ARM A15 SoCs (I backported kprobes to 3.10 kernel), no problem arise, they are still running now. -- To unsubscribe from this list:

[RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-08 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make suc