[PATCH v3 0/2] kprobes: improve error handling when arming/disarming kprobes

2018-01-02 Thread Jessica Yu
Hi, This patchset attempts to improve error handling when arming or disarming ftrace-based kprobes. The current behavior is to simply WARN when ftrace (un-)registration fails, without propagating the error code. This can lead to confusing situations where, for example,

[PATCH v3 0/2] kprobes: improve error handling when arming/disarming kprobes

2018-01-02 Thread Jessica Yu
Hi, This patchset attempts to improve error handling when arming or disarming ftrace-based kprobes. The current behavior is to simply WARN when ftrace (un-)registration fails, without propagating the error code. This can lead to confusing situations where, for example,