Date: Sat, 20 Apr 2013 23:08:18 -0400 From: Mark Johnston <markj@freebsd.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r248644 - head/cddl/contrib/opensolaris/lib/libdtrace/common Message-ID: <20130421030818.GA23819@gloom> In-Reply-To: <201303230857.r2N8vsHL058716@svn.freebsd.org> References: <201303230857.r2N8vsHL058716@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 23, 2013 at 08:57:54AM +0000, Andriy Gapon wrote: > Author: avg > Date: Sat Mar 23 08:57:54 2013 > New Revision: 248644 > URL: http://svnweb.freebsd.org/changeset/base/248644 > > Log: > dtrace: ensure that we can always catch a process (e.g. when -c is used) > > It is not guaranteed that a program has a symbol table entry for main > and thus that it would be possible to set a breakpoint on it. > > Reviewed by: rpaulo > Discussed with: rpaulo > MFC after: 13 days Hi Andriy, This commit seems to break USDT for me. When I for instance try to run the toy example at https://wiki.freebsd.org/DTrace/userland (the database provider), I get markj@gloom: ~/tmp/dtrace/db $ sudo dtrace -s db.d -c ./db dtrace: failed to compile script db.d: line 2: probe description database23147:::query-start does not match any probes When I revert this commit and recompile the example program and libdtrace, it works as expected. Thanks, -Mark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130421030818.GA23819>