Re: [PATCH] uprobe: Warn if unable to install breakpoint

2017-09-13 Thread Naveen N. Rao
On 2017/09/01 03:09PM, Michael Ellerman wrote: > "Naveen N. Rao" writes: > > > When we try to install a uprobe breakpoint in uprobe_mmap(), we ignore > > all errors encountered in the process per this comment at the top of > > the function: > > /* > > * Called from mmap_region/vma_adjust

Re: [PATCH] uprobe: Warn if unable to install breakpoint

2017-08-31 Thread Michael Ellerman
"Naveen N. Rao" writes: > When we try to install a uprobe breakpoint in uprobe_mmap(), we ignore > all errors encountered in the process per this comment at the top of > the function: > /* > * Called from mmap_region/vma_adjust with mm->mmap_sem acquired. > * > * Currently we i

[PATCH] uprobe: Warn if unable to install breakpoint

2017-08-31 Thread Naveen N. Rao
When we try to install a uprobe breakpoint in uprobe_mmap(), we ignore all errors encountered in the process per this comment at the top of the function: /* * Called from mmap_region/vma_adjust with mm->mmap_sem acquired. * * Currently we ignore all errors and always return 0, th