Re: ktr port from FreeBSD

看板DFBSD_kernel作者時間21年前 (2004/09/04 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
On Fri, Sep 03, 2004 at 09:42:29AM -0700, Matthew Dillon wrote: > > :I have ported ktr (kernel trace routines) from FreeBSD (who took it from > :BSD/OS). .... > Also, 1024 entries is probably not nearly enough for a tracepoint > utility to be useful. We'd need a lot of entries... a million or more, > for it to be really useful, which implies dynamically allocating the > array at boot time rather then declaring it static. Thats exactly what the BSD/OS code did. It was allocated very early on and was in fact, sizable from the boot prompt. I think I'd like a peek at this port tbh. - Diane
文章代碼(AID): #11EB5t00 (DFBSD_kernel)
文章代碼(AID): #11EB5t00 (DFBSD_kernel)