From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753983AbcDGEad (ORCPT ); Thu, 7 Apr 2016 00:30:33 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:46565 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750840AbcDGEac (ORCPT ); Thu, 7 Apr 2016 00:30:32 -0400 X-IBM-Helo: d03dlp02.boulder.ibm.com X-IBM-MailFrom: ananth@in.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Thu, 7 Apr 2016 10:00:19 +0530 From: Ananth N Mavinakayanahalli To: "Naveen N. Rao" Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Thiago Jung Bauermann , Arnaldo Carvalho de Melo , Masami Hiramatsu , Mark Wielaard Subject: Re: [PATCH 1/2] perf/powerpc: Fix kprobe and kretprobe handling with kallsyms Message-ID: <20160407043019.GD3620@in.ibm.com> Reply-To: ananth@in.ibm.com References: <97bd954477bc7a94e676d3510c6f945ff9c9e0cc.1459942081.git.naveen.n.rao@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <97bd954477bc7a94e676d3510c6f945ff9c9e0cc.1459942081.git.naveen.n.rao@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16040704-0021-0000-0000-00002FAB2EAC Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Ananth