This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Patch: add systemtap-style marker to _Unwind_DebugHook
Tom Tromey <tromey@redhat.com> writes:
>>>>>> "Rainer" == Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>
> Rainer> This is wrong: Solaris 10+ has <sys/sdt.h> for DTrace, but only defines
> Rainer> DTRACE_* there.
>
> Oops, I forgot that this was a compatibility header.
>
> I think I will make it check for the existence of STAP_PROBE2, unless
> there is some better plan. I don't know anything about dtrace and have
For the moment, that should do.
> no way to test it, so if we want to use the DTRACE_* macro, somebody
> will have to help.
Adding DTrace probes to the unwinder sounds like an excellent idea: I
recently had to debug lots of unwinder issues on Solaris, and such
probes would certainly have helped. I'll add this to my agenda.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University