site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 6 Sep 2011, at 08:54, Sid Moore wrote:
I wrote a demo program, for fetching those trace record from kernel via sysctl(3), but It doesn't work, no trace record with debugid matched 0x0301XXXX. :-(
I wrote code to do this years ago, but I've completely forgotten how it works (-: I do remember cribbing lots of it from the fs_usage tool, so that might be a place to start. <http://www.opensource.apple.com/source/system_cmds/system_cmds-541/fs_usage.tproj/> These days I just DTrace <x-man-page://1/dtrace> to get this sort of information; it's so much nicer. S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com