[PATCH 1/2] perf/powerpc: Fix kprobe and kretprobe handling with kallsyms
Naveen N. Rao
naveen.n.rao at linux.vnet.ibm.com
Thu Apr 7 16:32:34 AEST 2016
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
More information about the Linuxppc-dev
mailing list