KDB_TRACE and no backend
Andriy Gapon
avg at freebsd.org
Sat Sep 18 19:00:27 UTC 2010
on 18/09/2010 21:41 Andriy Gapon said the following:
> on 18/09/2010 21:26 Attilio Rao said the following:
>>
>> You have to eventually wrap this logic within the 'STACK' option
>> (opt_stack.h for the check) because stack_save() will be uneffective
>> otherwise. STACK should be mandatory for DDB I guess, but it is not
>> for KDB.
>
> Thank you for the tip!
> BTW, why is this under an option?
> It seems like something like this won't add much to kernel size and won't affect
> performance at all.
>
Oh, wow, and I totally overlooked stack_print().
Should have read stack(9) from the start.
--
Andriy Gapon
More information about the freebsd-hackers
mailing list