
good morning,
Did anybody of you look at how Solaris TNF framework or DTrace framework are implemented? A lot can be accomplished by tricks at link stage, and DTrace with UDT provider offers even more (selective filtering and data aggregation at run-time) than I could ask of any logging library. And that at a negligible cost for disabled log points.
just finished the usenix doc so that i got the picture. wow, i am quite astonished, i must say. this seems like every developper's dream... i worked with 5.8 and then quite lost a track. i used truss, strace, valgrind, purify, etc for achieve part of that goal, but apparently dtrace is lot more.
[No, I'm not proposing to reimplement all of DTrace. But what you're it would be perhaps easier to port it than rewrite, anyway
describing already exists, so it might be worth looking into how these things are implemented. Or, if nothing else, write a logging back-end for DTrace and/or TNF.
i'll certainly have a look at it, thanks! best regards, mojmir