From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8545 invoked by alias); 4 Mar 2008 12:12:22 -0000 Received: (qmail 8527 invoked by uid 22791); 4 Mar 2008 12:12:21 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Mar 2008 12:11:00 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m24CAp8W027654 for ; Tue, 4 Mar 2008 07:10:58 -0500 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m24CAo17017745; Tue, 4 Mar 2008 07:10:50 -0500 Received: from hridell.englab.brq.redhat.com (hridell.englab.brq.redhat.com [10.34.32.30]) by pobox.stuttgart.redhat.com (8.13.1/8.13.1) with ESMTP id m24CAn37011577; Tue, 4 Mar 2008 07:10:49 -0500 Message-ID: <47CD3C45.3060000@redhat.com> Date: Tue, 04 Mar 2008 12:12:00 -0000 From: Petr Machata User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Sami Wagiaalla CC: frysk Subject: Re: Frysk presentation References: <47CC6002.60703@redhat.com> In-Reply-To: <47CC6002.60703@redhat.com> X-Enigmail-Version: 0.95.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAB34893EF463D82C49181E4B" X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-Virus-Checked: Checked by ClamAV on sourceware.org X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00119.txt.bz2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAB34893EF463D82C49181E4B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1561 Sami Wagiaalla wrote: > More specifically behdad was excited about ftrace and has made some > specific requests: > - To be able to easily specify which library he wants traced Tracked here: http://sourceware.org/bugzilla/show_bug.cgi?id=3D5850 > - To be able to trace private functions. What does this mean? Is it like he wants to request tracing of private methods of some class? E.g. something like: -sym=3D'\private(someclass::*@libsoname.*)' (The \private qualifier doesn't work, I'm just playing around with some syntax.) Or if private function is just function not exported to dynamic symbol table, that would be -sym=3D'@libsoname.*', but then symbol table is necessary. This limitation is going to disappear once ftrace is rewritten to use frysk own framework for breakpoint handling, instead of reimplementing half of libdwfl on its own :) > - To be able to tell frysk how to print cairo types. ... and for that matter, ftrace needs smarts to know what prototype a function has, so that it can format the output accordingly, =E0 la strace. Most of that can be derived from debuginfo, but not everything. Sometimes 'unsigned int' is actually set of or-ed flags, or it accepts some #defined constants, some pointers are actually return values, etc. This all should be possible to configure. Ideally these configuration files would be distributed in devel subpackage of the library whose interfaces it describes. Also ideally the smarts that infer the prototype would be shared with whoever needs them (dltrace and ltrace come to mind). PM --------------enigAB34893EF463D82C49181E4B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHzTxJT6tJy0SVQPIRApiOAJ9ND3HxI73MAM4OktIjEx0K/dllYgCdEkMJ uX1MKSEldynJg58q2ew2Vmg= =VBTb -----END PGP SIGNATURE----- --------------enigAB34893EF463D82C49181E4B--