Re: [PATCH 2/9] rxrpc: Disable a debugging statement that has been left enabled.

From: David Miller
Date: Thu Apr 07 2016 - 16:50:32 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Thu, 07 Apr 2016 21:47:19 +0100

> David Miller <davem@xxxxxxxxxxxxx> wrote:
>
>> > Excellent only if I can get at it to find out why the something went wrong.
>> > If it's lost because the machine panics, then it is worthless.
>>
>> If you're ok with these kenter things spewing into the logs with the
>> current facility, you can run the function tracer and have it record
>> into the logs all the time too.
>
> They don't do that unless you enable them. And I can enable them individually
> at compile time or by set at runtime.

As you can with the function tracer and tracepoints.

We're not telling you to kill this now, we're just saying that you should
thinking about tossing this custom stuff when you have a chance.