(unknown charset) Re: how to build kernel with CTF data for DTrace?

From: (unknown charset) Andriy Gapon <avg_at_freebsd.org>
Date: Wed, 23 Mar 2011 13:55:03 +0200
on 23/03/2011 12:23 Anton Yuzhaninov said the following:
> On this page:
> http://wiki.freebsd.org/DTrace
> 
> written, that for 9-current is sufficient to rebild kernel with this
> options:
> 
> options         DDB_CTF
> options         KDTRACE_HOOKS
> makeoptions     DEBUG=-g
> makeoptions     WITH_CTF=1

Also for amd64:
options	KDTRACE_FRAME

> 
> I have rebuild kernel with this options, but:
> $ ctfdump -l /boot/kernel/kernel
> /boot/kernel/kernel does not contain .SUNW_ctf data
> 
> Is instruction in wiki outdated?

The instructions work for me here.

> full build log:
> https://hius.citrin.ru/a/2011-03-23-buildkernel.log
> 
> FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r219710M
> 


-- 
Andriy Gapon
Received on Wed Mar 23 2011 - 10:55:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC