From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30047 invoked by alias); 1 Aug 2012 08:44:30 -0000 Received: (qmail 30040 invoked by uid 22791); 1 Aug 2012 08:44:29 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_DW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Aug 2012 08:44:03 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q718i3PY028897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 1 Aug 2012 04:44:03 -0400 Received: from springer.wildebeest.org (ovpn-113-94.phx2.redhat.com [10.3.113.94]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q718i1Z0016229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 1 Aug 2012 04:44:02 -0400 Received: by springer.wildebeest.org (Postfix, from userid 500) id 29BDD4C622; Wed, 1 Aug 2012 10:44:01 +0200 (CEST) Message-ID: <1343810640.3037.11.camel@springer.wildebeest.org> Subject: Using systemtap on fedora rawhide From: Mark Wielaard To: systemtap@sourceware.org Date: Wed, 01 Aug 2012 08:44:00 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2012-q3/txt/msg00120.txt.bz2 Hi, For those wanting to try our systemtap on fedora rawhide (the in development version that will become f18), there are two issues to be aware of. There was a recent switch from the 3.5.0 kernel to the 3.6.0-rc development kernel, which broke some runtime assumptions (e.g. task_work was renamed to struct callback_head). So stick with 3.5.0 for now if possible. Also all user space was rebuild and now uses the dwz compressor: https://fedoraproject.org/wiki/Features/DwarfCompressor This introduces some new DWARF forms that are not yet recognized by elfutils/libdw[fl]. There is a patch for that: http://thread.gmane.org/gmane.comp.sysutils.elfutils.devel/2210/focus=3D2272 (Or use the mjw/dwz elfutils branch from git). With that user space probing should work just fine. Without that you will just get the message:=20 semantic error: while resolving probe point: identifier 'process' at :1:7 source: probe process.function("main") { log("hit"); exit(); } ^ semantic error: no match The issue is that we don't check the result of dwarf_getfuncs (), and so we just think there are zero functions. But even if we did, dwarf_getfuncs () doesn't actually tell us there was a problem reading the debuginfo, it just reports there are no functions. Cheers, Mark