From owner-freebsd-hackers Tue Dec 16 18:08:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA24700 for hackers-outgoing; Tue, 16 Dec 1997 18:08:44 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA24022 for ; Tue, 16 Dec 1997 18:03:33 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id SAA04142; Tue, 16 Dec 1997 18:02:58 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma004140; Tue Dec 16 18:02:30 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id SAA03536; Tue, 16 Dec 1997 18:02:29 -0800 (PST) From: Archie Cobbs Message-Id: <199712170202.SAA03536@bubba.whistle.com> Subject: Re: profiling inside kernel In-Reply-To: <199712160849.JAA02895@kk662.kk.etx.ericsson.se> from ETX-B-SL Martti Kuparinen at "Dec 16, 97 09:49:45 am" To: erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen) Date: Tue, 16 Dec 1997 18:02:28 -0800 (PST) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ETX-B-SL Martti Kuparinen writes: > - How can one get assembler listing from a function within gdb? > (I need to count the real machine instructions in a function) I think "x/16i" will do the trick... that's "examine, decode as instruction, 16 times". -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com