Date: Sat, 4 Dec 2010 16:23:01 -0600 From: Zhihao Yuan <lichray@gmail.com> To: Andriy Gapon <avg@freebsd.org> Cc: Brandon Gooch <jamesbrandongooch@gmail.com>, freebsd-stable@freebsd.org, Navdeep Parhar <nparhar@gmail.com>, Jeremy Chadwick <freebsd@jdc.parodius.com> Subject: Re: Fwd: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE Message-ID: <AANLkTinQ6j-fBvQsKAn-NwkR_LJUSesTYp75cM-KB3VV@mail.gmail.com> In-Reply-To: <4CFA23A7.3050604@freebsd.org> References: <20101123131353.GA7243@icarus.home.lan> <20101123132519.GA1426@icarus.home.lan> <4CEBC155.9090706@freebsd.org> <AANLkTimsa-YM6B_272U4gjZzt1Ce05LR4sQTz_AiHJCU@mail.gmail.com> <AANLkTimb-Kijj_%2BQ2%2BxKrjtP65Zx%2BJ7rUjEP4i0HZyu6@mail.gmail.com> <20101202002734.GA84177@icarus.home.lan> <AANLkTikcHwXWGz-hcpJfZ_cM73pgHKPgCm3bApf94gwE@mail.gmail.com> <AANLkTinReeg3Xr6=553jwp5jfHuZppOd%2B0v1DC_rAEQC@mail.gmail.com> <AANLkTi=-A2eJ7vNHUJGxViMEW%2BcGpzJ8g1vJe0d9B48E@mail.gmail.com> <AANLkTi=vp0UNuemjKJimTRMd35NxeADZ2-%2B0qLVG%2BKWJ@mail.gmail.com> <20101202022416.GA86118@icarus.home.lan> <4CF8FDC8.7050702@freebsd.org> <AANLkTimW-z%2B0GuUz8bQ33Le_JrYVChiSJ6r7b=r64gJQ@mail.gmail.com> <4CF97D6A.7020900@freebsd.org> <AANLkTikdsso-sw%2BC_pMGy%2BWjhLjp4G-6QOxHpyVE2i-6@mail.gmail.com> <4CFA23A7.3050604@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 4, 2010 at 5:19 AM, Andriy Gapon <avg@freebsd.org> wrote: > on 04/12/2010 04:28 Zhihao Yuan said the following: > > My world and kernel are sync. Is it possible that the dtrace-enabled > kernel must > > be compiled with '-g'? > > It shouldn't be a requirement. But please try. > HAHAHAHA! It matters.... Not KBD, not DDB, only the DEBUG=-g option. It seems like DTrace requires the symbols inside a kernel/program. Well, now my DTrace works perfectly, and the examples on the wiki also work. The next step is to try to use it to trace my program. SDT may help. I need to learn more. Thanks guys... > DTrace (userland utility on FreeBSD) self-diagnostics really should be > improved. > Obscure complaints about problem in system .d files do not help at all for > a > user to understand what the actual problem could be. Sigh. > > -- > Andriy Gapon > -- Zhihao Yuan The best way to predict the future is to invent it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinQ6j-fBvQsKAn-NwkR_LJUSesTYp75cM-KB3VV>