Re: [PATCH 1/2] perf/powerpc: Fix kprobe and kretprobe handling with kallsyms

From: Naveen N. Rao
Date: Thu Apr 07 2016 - 02:47:10 EST


On 2016/04/07 10:00AM, Ananth N wrote:
> On Wed, Apr 06, 2016 at 06:02:57PM +0530, Naveen N. Rao wrote:
>
> > + if (!pev->uprobes && map->dso->symtab_type == DSO_BINARY_TYPE__KALLSYMS)
> > tev->point.offset += PPC64LE_LEP_OFFSET;
>
> uprobes check against kallsysms? Am I missing something here?

Ah yes. That check shouldn't be necessary since symtab_type would be
different anyway. I will remove that check.

Thanks for the review!
- Naveen