aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-01-02 12:21:49 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-02-02 16:50:25 -0800
commit147b903da65daedc90dbeb66a75dd608a6a41ef2 (patch)
tree99fac314945fbc3c61ed86f305b73990f2a90c06 /drivers/sh
parentInput: psmouse - move sliced command implementation to libps2 (diff)
downloadlinux-dev-147b903da65daedc90dbeb66a75dd608a6a41ef2.tar.xz
linux-dev-147b903da65daedc90dbeb66a75dd608a6a41ef2.zip
Input: libps2 - add debugging statements
Debugging via i8042.debug and analyzing raw PS/2 data stream may be cumbersome as you need to locate the boundaries of commands, decipher the sliced commands, etc, etc. Let's add a bit more high level debug statements for ps2_sendbyte(), ps2_command(), and ps2_sliced_command(). We do not introduce a new module parameter, but rater rely on the kernel having dynamic debug facility enabled (which most everyone has nowadays). Enable with: echo "file libps2.c +pf" > /sys/kernel/debug/dynamic_debug/control or add "libps2.dyndbg=+pf" to the kernel command line. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions