Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-12 Thread David Long
On 12/12/2015 01:48 PM, William Cohen wrote: On 12/12/2015 12:56 AM, David Long wrote: On 12/11/2015 11:09 AM, William Cohen wrote: On 12/11/2015 12:05 AM, David Long wrote: There is a moderate amount of code already in kprobes on ARM and the current ARMv8 patch to deal with conditional execu

Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-12 Thread William Cohen
On 12/12/2015 12:56 AM, David Long wrote: > On 12/11/2015 11:09 AM, William Cohen wrote: >> On 12/11/2015 12:05 AM, David Long wrote: >>> There is a moderate amount of code already in kprobes on ARM and the >>> current ARMv8 patch to deal with conditional execution of instructions. One >>> aspect

Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-11 Thread David Long
On 12/11/2015 11:09 AM, William Cohen wrote: On 12/11/2015 12:05 AM, David Long wrote: There is a moderate amount of code already in kprobes on ARM and the current ARMv8 patch to deal with conditional execution of instructions. One aspect of how this is handled is that instructions that fail t

Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-11 Thread William Cohen
On 12/11/2015 12:05 AM, David Long wrote: > There is a moderate amount of code already in kprobes on ARM and the current > ARMv8 patch to deal with conditional execution of instructions. One aspect of > how this is handled is that instructions that fail their predicate and are > not (technically

Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-11 Thread Jon Medhurst (Tixy)
On Fri, 2015-12-11 at 10:34 +, Russell King - ARM Linux wrote: > On Fri, Dec 11, 2015 at 10:27:13AM +, Jon Medhurst (Tixy) wrote: > > On Fri, 2015-12-11 at 00:05 -0500, David Long wrote: > > > There is a moderate amount of code already in kprobes on ARM and the > > > current ARMv8 patch to

Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-11 Thread Russell King - ARM Linux
On Fri, Dec 11, 2015 at 10:27:13AM +, Jon Medhurst (Tixy) wrote: > On Fri, 2015-12-11 at 00:05 -0500, David Long wrote: > > There is a moderate amount of code already in kprobes on ARM and the > > current ARMv8 patch to deal with conditional execution of instructions. > > One aspect of how th

Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-11 Thread Jon Medhurst (Tixy)
On Fri, 2015-12-11 at 00:05 -0500, David Long wrote: > There is a moderate amount of code already in kprobes on ARM and the > current ARMv8 patch to deal with conditional execution of instructions. > One aspect of how this is handled is that instructions that fail their > predicate and are not (

Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-11 Thread Steve Capper
On 11 December 2015 at 13:05, David Long wrote: > There is a moderate amount of code already in kprobes on ARM and the current > ARMv8 patch to deal with conditional execution of instructions. One aspect > of how this is handled is that instructions that fail their predicate and > are not (technic

[RFC] kprobe'ing conditionally executed instructions

2015-12-10 Thread David Long
There is a moderate amount of code already in kprobes on ARM and the current ARMv8 patch to deal with conditional execution of instructions. One aspect of how this is handled is that instructions that fail their predicate and are not (technically) executed are also not treated as a hit kprobe.