Thanks folks! I would try out these options.
Regards
Manish Sharma
On Wednesday, November 7, 2012 10:15:50 PM UTC+5:30, rahil malhotra wrote:
>
> You can also achieve this by doing the following:-
> Where ever you want to get the process name, just print
> thread->proc->tsk->comm
> Herr thread
You can also achieve this by doing the following:-
Where ever you want to get the process name, just print
thread->proc->tsk->comm
Herr thread is the binder_thread structure associated with the current
running thread.
Regards,
Rahil
On Nov 7, 2012 9:43 PM, "andria" wrote:
>
>
> Le mardi 6 novembr
Le mardi 6 novembre 2012 05:36:00 UTC+1, Manish Sharma a écrit :
>
> Hi,
Hi
>I want to find out the current process name. I tried current->comm but
> what I get is "Binder Thread #" with different thread numbers. For ex. I
> get "Binder Thread#' from comm for id.defcontainer.
>
The r
Le mardi 6 novembre 2012 05:36:00 UTC+1, Manish Sharma a écrit :
>
> Hi,
Hi
>I want to find out the current process name. I tried current->comm but
> what I get is "Binder Thread #" with different thread numbers. For ex. I
> get "Binder Thread#' from comm for id.defcontainer.
>
The r