It walks the stack and identifies anything that looks like a kernel symbol. This could be a lot more sophisticated.