News for hackers. Stuff that matters.
Re:The Magic of strace by Xdes on Friday January 31, 2014 @10:14AM (#7157016)
Still doesn't tell me what dtrace does.
Re:The Magic of strace by brodney on Friday January 31, 2014 @10:18AM (#7157045)
Re:The Magic of strace by Xdes on Friday January 31, 2014 @10:35AM (#7157151)
Or you could just give a concise definition:

    >What is this "DTrace" thing? It stands for "Dynamic Tracing",
    >a way you can attach "probes" to a running system
    >and peek inside as to what it is doing.
Re:The Magic of strace by brodney on Friday January 31, 2014 @01:22PM (#7158178)
It was my mistake to link you to a tutorial on the thing you are asking about. I don't know what came over me.
Re:The Magic of strace by dunham on Friday January 31, 2014 @12:51PM (#7157935)
It's like awk, except that you match entry/exit of syscalls, function calls, method invocations (in ObjC/Java), and give code to execute with access to arguments, return values, stack trace, etc.

It can be used to write tools like strace (see "dtruss" on OSX), iotop, topsyscall, etc.

Re:The Magic of strace by Someone on Friday January 31, 2014 @03:04PM (#7158861)
On Mac OS X, the way to get an idea of what dtrace can do is "apropos dtrace". That shows you the dtrace scripts that the OS ships with.