Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2015-02-24 Thread Petr Mladek
On Tue 2015-02-24 20:47:06, Masami Hiramatsu wrote: > (2015/02/24 17:52), Petr Mladek wrote: > > On Tue 2015-02-24 16:38:18, Masami Hiramatsu wrote: > >> Hi Petr, > >> > >> Sorry I missed this mail. > > > > Thanks a lot for answering it with many valuable information. > > > >> (2015/01/27

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2015-02-24 Thread Masami Hiramatsu
(2015/02/24 17:52), Petr Mladek wrote: > On Tue 2015-02-24 16:38:18, Masami Hiramatsu wrote: >> Hi Petr, >> >> Sorry I missed this mail. > > Thanks a lot for answering it with many valuable information. > >> (2015/01/27 1:14), Petr Mladek wrote:> On Fri 2014-11-21 05:25:30, Masami >> Hiramatsu

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2015-02-24 Thread Petr Mladek
On Tue 2015-02-24 16:38:18, Masami Hiramatsu wrote: > Hi Petr, > > Sorry I missed this mail. Thanks a lot for answering it with many valuable information. > (2015/01/27 1:14), Petr Mladek wrote:> On Fri 2014-11-21 05:25:30, Masami > Hiramatsu wrote: > >> Set FTRACE_OPS_FL_IPMODIFY flag only

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2015-02-24 Thread Petr Mladek
On Tue 2015-02-24 16:38:18, Masami Hiramatsu wrote: Hi Petr, Sorry I missed this mail. Thanks a lot for answering it with many valuable information. (2015/01/27 1:14), Petr Mladek wrote: On Fri 2014-11-21 05:25:30, Masami Hiramatsu wrote: Set FTRACE_OPS_FL_IPMODIFY flag only for the

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2015-02-24 Thread Masami Hiramatsu
(2015/02/24 17:52), Petr Mladek wrote: On Tue 2015-02-24 16:38:18, Masami Hiramatsu wrote: Hi Petr, Sorry I missed this mail. Thanks a lot for answering it with many valuable information. (2015/01/27 1:14), Petr Mladek wrote: On Fri 2014-11-21 05:25:30, Masami Hiramatsu wrote: Set

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2015-02-24 Thread Petr Mladek
On Tue 2015-02-24 20:47:06, Masami Hiramatsu wrote: (2015/02/24 17:52), Petr Mladek wrote: On Tue 2015-02-24 16:38:18, Masami Hiramatsu wrote: Hi Petr, Sorry I missed this mail. Thanks a lot for answering it with many valuable information. (2015/01/27 1:14), Petr Mladek wrote:

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2015-02-23 Thread Masami Hiramatsu
Hi Petr, Sorry I missed this mail. (2015/01/27 1:14), Petr Mladek wrote:> On Fri 2014-11-21 05:25:30, Masami Hiramatsu wrote: >> Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change >> regs->ip, which has kprobe->break_handler. >> Currently we can not put jprobe and another

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2015-02-23 Thread Masami Hiramatsu
Hi Petr, Sorry I missed this mail. (2015/01/27 1:14), Petr Mladek wrote: On Fri 2014-11-21 05:25:30, Masami Hiramatsu wrote: Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change regs-ip, which has kprobe-break_handler. Currently we can not put jprobe and another ftrace

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2015-01-26 Thread Petr Mladek
On Fri 2014-11-21 05:25:30, Masami Hiramatsu wrote: > Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change > regs->ip, which has kprobe->break_handler. > Currently we can not put jprobe and another ftrace handler which > changes regs->ip on the same function because all kprobes

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2015-01-26 Thread Petr Mladek
On Fri 2014-11-21 05:25:30, Masami Hiramatsu wrote: Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change regs-ip, which has kprobe-break_handler. Currently we can not put jprobe and another ftrace handler which changes regs-ip on the same function because all kprobes have

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2014-11-23 Thread Masami Hiramatsu
(2014/11/22 5:15), Steven Rostedt wrote: > On Fri, 21 Nov 2014 05:25:30 -0500 > Masami Hiramatsu wrote: > >> Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change >> regs->ip, which has kprobe->break_handler. >> Currently we can not put jprobe and another ftrace handler which >>

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2014-11-23 Thread Masami Hiramatsu
(2014/11/22 5:15), Steven Rostedt wrote: On Fri, 21 Nov 2014 05:25:30 -0500 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change regs-ip, which has kprobe-break_handler. Currently we can not put jprobe and another

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2014-11-21 Thread Steven Rostedt
On Fri, 21 Nov 2014 05:25:30 -0500 Masami Hiramatsu wrote: > Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change > regs->ip, which has kprobe->break_handler. > Currently we can not put jprobe and another ftrace handler which > changes regs->ip on the same function because all

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2014-11-21 Thread Steven Rostedt
On Fri, 21 Nov 2014 05:25:30 -0500 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change regs-ip, which has kprobe-break_handler. Currently we can not put jprobe and another ftrace handler which changes regs-ip on the same

[PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2014-11-20 Thread Masami Hiramatsu
Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change regs->ip, which has kprobe->break_handler. Currently we can not put jprobe and another ftrace handler which changes regs->ip on the same function because all kprobes have FTRACE_OPS_FL_IPMODIFY flag. This removes

[PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2014-11-20 Thread Masami Hiramatsu
Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change regs-ip, which has kprobe-break_handler. Currently we can not put jprobe and another ftrace handler which changes regs-ip on the same function because all kprobes have FTRACE_OPS_FL_IPMODIFY flag. This removes