beepy icon indicating copy to clipboard operation
beepy copied to clipboard

Remove excessive logging to dmesg by Sharp Display driver

Open 57Bravo opened this issue 1 year ago • 1 comments

Remove this logic. It fills up dmesg with unnecessary logs.

https://github.com/sqfmi/Sharp-Memory-LCD-Kernel-Driver/blob/56fc25d3cc0d8d32065b6e54f3901378a1b83dea/sharp.c#L215


int fpsThreadFunction(void* v)
{
    while (!kthread_should_stop()) 
    {
        msleep(5000);
    	printk(KERN_DEBUG "FPS sharp : %d\n", fpsCounter);
    	fpsCounter = 0;
    }
    return 0;
}

57Bravo avatar Jul 16 '23 00:07 57Bravo

wouldn't it make more sense to filter KERN_DEBUG in linux rather than disable the debug fps logic within the driver?

dezren39 avatar Aug 28 '23 00:08 dezren39