12.07.2015 Views

dtrace_tips

dtrace_tips

dtrace_tips

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Trick: Using GCC's preprocessor●●●-C option uses /usr/ccs/lib/cpp bydefault, a cpp from Medieval TimesSolaris 10 ships gcc in /usr/sfw/bin soa modern, ANSI cpp is available withsome limitations (#line nesting broken)To use GCC's cpp:# <strong>dtrace</strong> -C -xcpppath=/usr/sfw/bin/cpp -Xs -s a.d● Needed when .h uses ANSI-isms like ##●Also useful for M4 propeller-heads

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!