Thread (22 messages) 22 messages, 7 authors, 2012-06-12

Re: [PATCH 1/2] uprobes: Pass probed vaddr to arch_uprobe_analyze_insn()

flat view

From: Ananth N Mavinakayanahalli <hidden>
Date: 2012-06-06 10:23:31
Also in: lkml

On Wed, Jun 06, 2012 at 11:40:15AM +0200, Ingo Molnar wrote:
* Ananth N Mavinakayanahalli [off-list ref] wrote:
quoted
On Wed, Jun 06, 2012 at 11:23:52AM +0200, Peter Zijlstra wrote:
quoted
On Wed, 2012-06-06 at 14:49 +0530, Ananth N Mavinakayanahalli wrote:
quoted
+int arch_uprobe_analyze_insn(struct arch_uprobe *auprobe, struct mm_struct *mm, loff_t vaddr)
Don't we traditionally use unsigned long to pass vaddrs?
Right. But the vaddr we pass here is vma_info->vaddr which is loff_t.
I guess I should've made that clear in the patch description.
Why not fix struct vma_info's vaddr type?
Agreed. Will fix and send v2.

Ananth
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help