Re: [PATCH] kprobes: bugfix: makes kprobes/enabled works correctly for optimized kprobes.

2015-01-19 Thread Masami Hiramatsu
(2015/01/20 11:51), Wang Nan wrote: > debugfs/kprobes/enabled doesn't work correctly on optimized kprobes. > Masami Hiramatsu has a test report on x86_64 platform: > > https://lkml.org/lkml/2015/1/19/274 > > This patch forces it to unoptimize kprobe if kprobes_all_disarmed > is set. It also

[PATCH] kprobes: bugfix: makes kprobes/enabled works correctly for optimized kprobes.

2015-01-19 Thread Wang Nan
debugfs/kprobes/enabled doesn't work correctly on optimized kprobes. Masami Hiramatsu has a test report on x86_64 platform: https://lkml.org/lkml/2015/1/19/274 This patch forces it to unoptimize kprobe if kprobes_all_disarmed is set. It also checks the flag in unregistering path for skipping

[PATCH] kprobes: bugfix: makes kprobes/enabled works correctly for optimized kprobes.

2015-01-19 Thread Wang Nan
debugfs/kprobes/enabled doesn't work correctly on optimized kprobes. Masami Hiramatsu has a test report on x86_64 platform: https://lkml.org/lkml/2015/1/19/274 This patch forces it to unoptimize kprobe if kprobes_all_disarmed is set. It also checks the flag in unregistering path for skipping

Re: [PATCH] kprobes: bugfix: makes kprobes/enabled works correctly for optimized kprobes.

2015-01-19 Thread Masami Hiramatsu
(2015/01/20 11:51), Wang Nan wrote: debugfs/kprobes/enabled doesn't work correctly on optimized kprobes. Masami Hiramatsu has a test report on x86_64 platform: https://lkml.org/lkml/2015/1/19/274 This patch forces it to unoptimize kprobe if kprobes_all_disarmed is set. It also checks the