Date: Sat, 29 Jun 2013 15:40:55 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: dtrace@FreeBSD.org Subject: Help with libstdc++ DTrace provider Message-ID: <51CF4657.9060101@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hello; Sometime ago I found this patch for Apple's Darwin: http://www.opensource.apple.com/source/libstdcxx/libstdcxx-39/patches-4.2.1/dtrace.patch It appears to be the basis of a libstdc++ provider: there are some probes where exceptions are generated. The patch to our contrib/libstdc++ is this: http://people.freebsd.org/~pfg/patches/dtrace/libstdc++.patch However when I follow the instructions in: libstdc++/config/os/bsd/freebsd/dtrace_cxa_runtime.d it fails: dtrace -C -h -s dtrace_cxa_runtime.d -o dtrace_cxa_runtime.h dtrace: failed to compile script dtrace_cxa_runtime.d: "/usr/lib/dtrace/errno.d", line 2: type redeclared: struct devinfo Anyone knows what is missing/failing and how to fix this? Thanks in advance, Pedro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51CF4657.9060101>