Messages in this thread | | | Date | Sun, 23 Sep 2012 22:19:21 +0200 | From | Oleg Nesterov <> | Subject | [PATCH 0/4] uprobes: remove is_swbp_at_addr() from register/unregister |
| |
Hello.
1. the usage of is_swbp_at_addr() is confusing. This series tries to answer the questions we got during the discussion about powerpc port which has multiple trap insns.
Ananth, please review too ;) at least the changelog in 1/4.
Note: the changelog doesn't mention is_swbp_insn(). If powerpc wants to change it, we need 2 helpers for verify_opcode() and for is_swbp_at_addr().
2. This is also preparation for the pre-filtering I am working on.
In particular, this series tries to make clear the fact that register/unregister should be "idempotent".
Oleg.
kernel/events/uprobes.c | 165 +++++++++++++++++------------------------------ 1 files changed, 59 insertions(+), 106 deletions(-)
| |