My goal is to add a single printk command to one of the driver files for my phone\'s touchscreen. I would like to run this printk command everytime the screen recieves touch
First Check the Driver file by using the following command on terminal:
$logcat | grep EventHub
You will find all the input devices (Including your touch driver) in the prints.
Go to that file and add the print command in interrupt handler.