Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
How to capture process id and multi-thread for application from ARM hardware
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
118 subscribers
Views
3696 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
How to capture process id and multi-thread for application from ARM hardware
thiet pv
over 12 years ago
Note: This was originally posted on 5th September 2011 at
http://forums.arm.com
Dear all,
I am make a simulator for ARM (Cortex-a9). I want to capture process id and multi-thread for applications run on Linux kernel by this simulator, but I don't have good idea to capture it. I thought about CP15.c13 (Context PID register) of ARM but it seems not true for PID from kernel. I also think that Arm hardware will manage PID by stack and capture stack pointer will help to capture PID and multi-thread, but it is very difficult for me to understand about it. Please help me to find a solution to capture them.
Thanks and best regard,
Parents
thiet pv
over 12 years ago
Note: This was originally posted on 6th September 2011 at
http://forums.arm.com
Thanks for your reply,
I learn about contex register of ARM refer
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0344c/Bgbeegaf.html
I think it can help to specify PID of each application. I see that the value of this register is not the same with PID in the linux kernel, but I don't know why?
Do you think that it can help to specify PID?
Cancel
Vote up
0
Vote down
Cancel
Reply
thiet pv
over 12 years ago
Note: This was originally posted on 6th September 2011 at
http://forums.arm.com
Thanks for your reply,
I learn about contex register of ARM refer
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0344c/Bgbeegaf.html
I think it can help to specify PID of each application. I see that the value of this register is not the same with PID in the linux kernel, but I don't know why?
Do you think that it can help to specify PID?
Cancel
Vote up
0
Vote down
Cancel
Children
No data