Skip to content

Remove excessive logging to dmesg by Sharp Display driver #16

Description

@57Bravo

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;
}

Activity

  1. dezren39 commented on Aug 28, 2023

    @dezren39

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions