I want to get full process name from struct task_struct. The comm field stores only 16 characters, while process name can be longer. Is there any way t
struct task_struct
comm
Just use current->comm and you can see the name.
current->comm
Example:
printk(KERN_ALERT "THREAD NAME = %s\n", current->comm);