diff options
| author | Oleg Nesterov <oleg@redhat.com> | 2014-03-31 21:01:31 +0200 |
|---|---|---|
| committer | Oleg Nesterov <oleg@redhat.com> | 2014-04-17 21:58:19 +0200 |
| commit | 8ad8e9d3fd64f101eed6652964670672d699e563 (patch) | |
| tree | 746e9f28e45b400e3ca4afe2866616545be92de9 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | uprobes/x86: move the UPROBE_FIX_{RIP,IP,CALL} code at the end of pre/post hooks (diff) | |
| download | linux-8ad8e9d3fd64f101eed6652964670672d699e563.tar.gz linux-8ad8e9d3fd64f101eed6652964670672d699e563.zip | |
uprobes/x86: Introduce uprobe_xol_ops and arch_uprobe->ops
Introduce arch_uprobe->ops pointing to the "struct uprobe_xol_ops",
move the current UPROBE_FIX_{RIP*,IP,CALL} code into the default
set of methods and change arch_uprobe_pre/post_xol() accordingly.
This way we can add the new uprobe_xol_ops's to handle the insns
which need the special processing (rip-relative jmp/call at least).
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
