Re: [BUGFIX PATCH 3/3] kprobes/arm: Fix the return address of multiple kretprobes

2017-02-14 Thread Masami Hiramatsu
On Tue, 14 Feb 2017 16:39:50 + "Jon Medhurst (Tixy)" wrote: > On Wed, 2017-02-15 at 01:01 +0900, Masami Hiramatsu wrote: > > On Tue, 14 Feb 2017 13:47:07 + > > "Jon Medhurst (Tixy)" wrote: > > > > > On Tue, 2017-02-14 at 10:32 +, Jon Medhurst (Tixy) wrote: > > > > On Tue, 2017-02-14

Re: [BUGFIX PATCH 3/3] kprobes/arm: Fix the return address of multiple kretprobes

2017-02-14 Thread Jon Medhurst (Tixy)
On Wed, 2017-02-15 at 01:01 +0900, Masami Hiramatsu wrote: > On Tue, 14 Feb 2017 13:47:07 + > "Jon Medhurst (Tixy)" wrote: > > > On Tue, 2017-02-14 at 10:32 +, Jon Medhurst (Tixy) wrote: > > > On Tue, 2017-02-14 at 00:05 +0900, Masami Hiramatsu wrote: > > > > This is arm port of commit 73

Re: [BUGFIX PATCH 3/3] kprobes/arm: Fix the return address of multiple kretprobes

2017-02-14 Thread Masami Hiramatsu
On Tue, 14 Feb 2017 13:47:07 + "Jon Medhurst (Tixy)" wrote: > On Tue, 2017-02-14 at 10:32 +, Jon Medhurst (Tixy) wrote: > > On Tue, 2017-02-14 at 00:05 +0900, Masami Hiramatsu wrote: > > > This is arm port of commit 737480a0d525 ("kprobes/x86: > > > Fix the return address of multiple kret

Re: [BUGFIX PATCH 3/3] kprobes/arm: Fix the return address of multiple kretprobes

2017-02-14 Thread Jon Medhurst (Tixy)
On Tue, 2017-02-14 at 10:32 +, Jon Medhurst (Tixy) wrote: > On Tue, 2017-02-14 at 00:05 +0900, Masami Hiramatsu wrote: > > This is arm port of commit 737480a0d525 ("kprobes/x86: > > Fix the return address of multiple kretprobes"). > > > > Fix the return address of subsequent kretprobes when mu

Re: [BUGFIX PATCH 3/3] kprobes/arm: Fix the return address of multiple kretprobes

2017-02-14 Thread Jon Medhurst (Tixy)
On Tue, 2017-02-14 at 00:05 +0900, Masami Hiramatsu wrote: > This is arm port of commit 737480a0d525 ("kprobes/x86: > Fix the return address of multiple kretprobes"). > > Fix the return address of subsequent kretprobes when multiple > kretprobes are set on the same function. > > For example: > >

[BUGFIX PATCH 3/3] kprobes/arm: Fix the return address of multiple kretprobes

2017-02-13 Thread Masami Hiramatsu
This is arm port of commit 737480a0d525 ("kprobes/x86: Fix the return address of multiple kretprobes"). Fix the return address of subsequent kretprobes when multiple kretprobes are set on the same function. For example: # cd /sys/kernel/debug/tracing # echo "r:event1 sys_symlink" > kprobe_ev