Hi,

Is there any way to get the current process ID and the corresponding
name of the application from the kernel module?

I have tried using task->comm ,task->pid, current->pid etc But I am
not getting the correct process ID.

I want to printk the process ID and the application name each time a
system call is called. System call should have a way to identify which
process ID or application is calling it.

Any other way to printk the process ID and the application name?

Thanks In Advance,
Perumal

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to