* Oleg Nesterov [2012-07-12 19:10:17]:
> Add the new helper, vaddr_to_offset(vma, vaddr) which returns the
> offset in vma->vm_file this vaddr is mapped at.
>
> Change build_probe_list() and find_active_uprobe() to use the new
> helper, the next patch adds another user.
>
> Signed-off-by: Oleg
* Oleg Nesterov o...@redhat.com [2012-07-12 19:10:17]:
Add the new helper, vaddr_to_offset(vma, vaddr) which returns the
offset in vma-vm_file this vaddr is mapped at.
Change build_probe_list() and find_active_uprobe() to use the new
helper, the next patch adds another user.
Add the new helper, vaddr_to_offset(vma, vaddr) which returns the
offset in vma->vm_file this vaddr is mapped at.
Change build_probe_list() and find_active_uprobe() to use the new
helper, the next patch adds another user.
Signed-off-by: Oleg Nesterov
---
kernel/events/uprobes.c | 14
Add the new helper, vaddr_to_offset(vma, vaddr) which returns the
offset in vma-vm_file this vaddr is mapped at.
Change build_probe_list() and find_active_uprobe() to use the new
helper, the next patch adds another user.
Signed-off-by: Oleg Nesterov o...@redhat.com
---
kernel/events/uprobes.c |
4 matches
Mail list logo