From owner-freebsd-hackers Thu Nov 21 0:39: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1A3637B401 for ; Thu, 21 Nov 2002 00:38:59 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18FDD43E4A for ; Thu, 21 Nov 2002 00:38:58 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id gAL8cun21752 for ; Thu, 21 Nov 2002 09:38:56 +0100 (MET) Date: Thu, 21 Nov 2002 09:38:56 +0100 (CET) From: Harti Brandt To: hackers@freebsd.org Subject: kernel basic block profiling Message-ID: <20021121093752.A36443-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <20021121093752.D36443@beagle.fokus.gmd.de> Content-Description: Notification Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, ${subject} seems not to work on -current. First of all 'man kernbb' tells me to compile at least one kernel file with '-a'. Well, gcc tells me that it doesn't know anything about '-a'. After some grepping in the gcc sources I came to the conclusion, that -fprofile-arcs is what it wants. But even then 'kernbb' gives me nothing on the new kernel and gdb shows bbhead to contain a 0. As far as I could figure out, the profile-arcs uses a ctor section and I somehow doubt, that this works in the kernel case. So, is ${subject} usable on current or is it just a stale feature? Regards, harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message