Add the following lines of code that creates an uninitialized variable in any kernel code and see how the Valgrind helps in identifying the issue: int demo; printf("%s, %d\n", __FUNCTION__, demo);