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 <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>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