Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 09:38:56 +0100 (CET)
From:      Harti Brandt <brandt@fokus.gmd.de>
To:        hackers@freebsd.org
Subject:   kernel basic block profiling
Message-ID:  <20021121093752.A36443-100000@beagle.fokus.gmd.de>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021121093752.A36443-100000>