* runtime/task_finder_vma.c (stap_remove_vma_map_info): Drop vm_end and
vm_pgoff arguments.
* runtime/sym.c (_stp_tf_munmap_cb): Don't pass addr + length and 0.
unsigned long length)
{
/* Unconditionally remove vm map info, ignore if not present. */
- stap_remove_vma_map_info(tsk->group_leader, addr, addr + length, 0);
+ stap_remove_vma_map_info(tsk->group_leader, addr);
return 0;
}
// If the entry contained a non-NULL dentry, will call dput(dentry).
// Returns -ESRCH if the entry isn't present.
static int
-stap_remove_vma_map_info(struct task_struct *tsk, unsigned long vm_start,
- unsigned long vm_end, unsigned long vm_pgoff)
+stap_remove_vma_map_info(struct task_struct *tsk, unsigned long vm_start)
{
struct hlist_head *head;
struct hlist_node *node;