Re: [PATCH] ftrace: dump out ftrace buffers to console on panic

Steven Rostedt
2008-07-31T01:05:43Z

On Wed, 30 Jul 2008, Andrew Morton wrote:
>>
>> I don't mind making it unconditionally available. I only added the config
>> option because I thought people would like to turn it off.
>>
>> I'll resubmit with the above concerns fixed and without the config option.
>
> Well.. my question about the config option was no more than a question
> - I don't know the answer.
>
> Although thinking about it, I guess that anyone who is really squeezy
> on space just won't be enabling ftrace at all. Is there any reason
> other than size for disabling this new feature?

Just the output to the console on oops. But then again, it only prints a
lot if ftrace has stuff in the buffers.

I also lowered the count to keep the pain down when this was configured,
but since the size of the buffers is both boot time and run time
configurable, it shouldn't be a problem. If people want more buffer space,
they simply need to increase it at run time.

-- Steve