Commit 62685ab
uprobe: Move arch_uprobe_optimize right after handlers execution
It's less confusing to optimize uprobe right after handlers execution
and before we do the check for changed ip register to avoid situations
where changed ip register would skip uprobe optimization.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>1 parent 3a86608 commit 62685ab
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2765 | 2765 | | |
2766 | 2766 | | |
2767 | 2767 | | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
2768 | 2771 | | |
2769 | 2772 | | |
2770 | 2773 | | |
2771 | 2774 | | |
2772 | 2775 | | |
2773 | 2776 | | |
2774 | 2777 | | |
2775 | | - | |
2776 | | - | |
2777 | | - | |
2778 | 2778 | | |
2779 | 2779 | | |
2780 | 2780 | | |
| |||
0 commit comments