diff options
author | 2014-03-31 18:35:09 +0200 | |
---|---|---|
committer | 2014-04-17 21:58:17 +0200 | |
commit | d20737c07a1063d681fe9fb86f3da369da1edab7 (patch) | |
tree | cdac2c07d45ab97a9238f8c324a93857bd4016fe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | uprobes/x86: Kill the "ia32_compat" check in handle_riprel_insn(), remove "mm" arg (diff) | |
download | linux-dev-d20737c07a1063d681fe9fb86f3da369da1edab7.tar.xz linux-dev-d20737c07a1063d681fe9fb86f3da369da1edab7.zip |
uprobes/x86: Gather "riprel" functions together
Cosmetic. Move pre_xol_rip_insn() and handle_riprel_post_xol() up to
the closely related handle_riprel_insn(). This way it is simpler to
read and understand this code, and this lessens the number of ifdef's.
While at it, update the comment in handle_riprel_post_xol() as Jim
suggested.
TODO: rename them somehow to make the naming consistent.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions