]> git.baikalelectronics.ru Git - kernel.git/commit
uprobes: Add exports for module use
authorJosh Stone <jistone@redhat.com>
Sun, 13 Jan 2013 18:03:34 +0000 (19:03 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 8 Feb 2013 16:47:13 +0000 (17:47 +0100)
commit8341b69f320b4014591e4c37665cffce0d96d5ce
tree59abbd23435cd341250a028b4fa06826b7133fbe
parent5b6915315585f2b60b4aa2fc9ffefdebd343a402
uprobes: Add exports for module use

The original pull message for uprobes (commit 59fbdcdf) noted:

  This tree includes uprobes support in 'perf probe' - but SystemTap
  (and other tools) can take advantage of user probe points as well.

In order to actually be usable in module-based tools like SystemTap, the
interface needs to be exported.  This patch first adds the obvious
exports for uprobe_register and uprobe_unregister.  Then it also adds
one for task_user_regset_view, which is necessary to get the correct
state of userspace registers.

Signed-off-by: Josh Stone <jistone@redhat.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
kernel/events/uprobes.c
kernel/ptrace.c