From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7596 invoked by alias); 13 Oct 2006 21:02:58 -0000 Received: (qmail 7589 invoked by uid 22791); 13 Oct 2006 21:02:57 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Oct 2006 21:02:49 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by mga09.intel.com with ESMTP; 13 Oct 2006 14:02:48 -0700 Received: from scsmsx332.sc.intel.com (HELO scsmsx332.amr.corp.intel.com) ([10.3.90.6]) by orsmga001.jf.intel.com with ESMTP; 13 Oct 2006 14:02:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: i="4.09,308,1157353200"; d="scan'208"; a="144714447:sNHT21304101" Received: from scsmsx413.amr.corp.intel.com ([10.3.90.32]) by scsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 13 Oct 2006 14:02:39 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Stap is translating to functions in __exit sections...and later module load fails Date: Fri, 13 Oct 2006 21:02:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Stap is translating to functions in __exit sections...and later module load fails Thread-Index: AcbvBT+68/nH9b6hT0qH/9Bzmw3ehgAABYnQAAFNT2A= From: "Stone, Joshua I" To: "Keshavamurthy, Anil S" Cc: "Systemtap" X-OriginalArrivalTime: 13 Oct 2006 21:02:39.0868 (UTC) FILETIME=[EB0A73C0:01C6EF0A] X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00113.txt.bz2 On Friday, October 13, 2006 1:26 PM, Keshavamurthy, Anil S wrote: > stap -e 'probe kernel.function("*") { log("."); }' > results in > ERROR: dwarf probe > kernel.function("exit_pfm_fs@arch/ia64/kernel/perfmon.c:1507") > registration failed, rc=3D1 >=20 > Looks like on Ia64, stap is translating to functions which are in > __exit sections, as in the above failure case exit_pfm_fs() function > is prefixed with __exit and when the module is loaded the > kprobe registration fails as the functions in exit sections no longer > exist. The translator blacklist tries to avoid such functions by checking the section name -- anything within a section beginning with '.exit.' (e.g., .exit.text) is blacklisted, and thus won't match a function("*"). Does IA64 do something different with the __exit sections? Josh