Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove excessive logging to dmesg by Sharp Display driver #16

Open
57Bravo opened this issue Jul 16, 2023 · 1 comment
Open

Remove excessive logging to dmesg by Sharp Display driver #16

57Bravo opened this issue Jul 16, 2023 · 1 comment

Comments

@57Bravo
Copy link

57Bravo commented Jul 16, 2023

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;
}
@dezren39
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants