[android-kernel] Re: Identification of appli using binder_thread_read

2012-02-06 Thread andria
Thanks for the answer it works or at least I got more precision than a simple "BinderThread #" On 27 jan, 02:38, rong wrote: > What you really need is to get the thread group leader pid by using > > task_tgid_vnr(current) > > and use that pid in whatever name lookup function you have. If you > st

[android-kernel] Re: Identification of appli using binder_thread_read

2012-01-26 Thread rong
What you really need is to get the thread group leader pid by using task_tgid_vnr(current) and use that pid in whatever name lookup function you have. If you still can't get sensible thing, you probably want to have a look at proc_pid_cmdline() function in fs/proc/base.c to see how it copies the