Patent ID: 8990776
Filing Date: 2015-03-24
Classification: G06F

Abstract:
1. A computerized method for debugging device drivers of a computing device, the method comprising: creating a command line interface (CLI) in a user space of an operating system of the computing device; receiving a command input by a user through the CLI using an input device of the computing device, and transmitting the received command to a kernel space of the operating system; parsing the command to determine a function of a device driver of the computing device and parameters of the function when the command is transmitted to the kernel space, the device driver storing different class of debugging information; determining a class of debugging information of the function and a switch state of the debugging information according to the parameters from the parsed command, the parameters comprising a first parameter representing a class of debugging information and a second parameter representing a switch state of the debugging information to determine whether debugging information of the function is enabled to be output; inquiring an address of the function in the kernel space; and debugging the function of the device driver according to the address of the function in the kernel space; and controlling debugging information corresponding to the determined class of the debugging information from the device driver to be output when the switch state of the debugging information is the switch on state, or controlling debugging information corresponding to the determined class of the debugging information from the device driver not to be output when the switch state of the debugging information is the switch off state.