[LLVMdev] [cfe-dev] Do you use UML utility programs?

Journeyer J. Joh oosaprogrammer at gmail.com
Sat Jan 12 20:01:46 PST 2013

Thank you Sean Silva!

I guess DTrace should be very useful.
Thank you.


2013/1/13 Sean Silva <silvas at purdue.edu>:
> On Sat, Jan 12, 2013 at 10:00 PM, Journeyer J. Joh
> <oosaprogrammer at gmail.com> wrote:
>> Oh I see. Thank you. I will study that.
> You will want to use the pid provider. The most basic thing you can
> probably do is to turn on flowindent and just trace
> `pid$target:::entry' and `pid$target:::return`, which will trace all
> the function calls and returns. This blog post
> <http://cuddletech.com/blog/pivot/entry.php?id=923> gives an example
> of the script I'm thinking of (this is one of the most basic DTrace
> scripts).
> Also, you may want to compile at -O0, because DTrace can't instrument
> functions that have been inlined.
> -- Sean Silva

Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m

More information about the llvm-dev mailing list