<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to capture process id and multi-thread for application from ARM hardware</title><link>https://community.arm.com/developer/tools-software/tools/f/armds-forum/920/how-to-capture-process-id-and-multi-thread-for-application-from-arm-hardware</link><description> 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&amp;#39;t have</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: How to capture process id and multi-thread for application from ARM hardware</title><link>https://community.arm.com/thread/2695?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 11:04:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2530d42d-02b0-4f77-a9fb-b5877c59c3f2</guid><dc:creator>Peter Harris</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 6th September 2011 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;This register is only loosely related to PID, and the mapping between PID and the value in this register is not a 1:1 mapping and time variant.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;As the previous poster said, PID is a software construct managed by the kernel, and not something which exists in the hardware directly.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Iso&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to capture process id and multi-thread for application from ARM hardware</title><link>https://community.arm.com/thread/2696?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 11:04:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c285922a-2105-4d1b-bf95-add20e891fea</guid><dc:creator>Konrad Anton</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 6th September 2011 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;You will probably have to interpret the Linux kernel&amp;#39;s data structures (task queue etc) in RAM. As Linux is a very portable kernel, I doubt that the ARM port uses ARM specialty registers to store PIDs when most other processor architectures have no such register.&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to capture process id and multi-thread for application from ARM hardware</title><link>https://community.arm.com/thread/2694?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 11:04:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:001667e7-7b55-4c83-b4b8-23cf38da5560</guid><dc:creator>thiet pv</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 6th September 2011 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thanks for your answer.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;I also think the same you. The value contex id and pid in kernel is different. But I don&amp;#39;t understand the mean of that register. Can you say the purpose of contex id register?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;I learn and I have idea to specify process and multi-thread for applications by capture stack pointer, because each process will be contained on 8KB stack so if we capture stack pointer for each functions of application we can specify the&amp;#160; and multi-thread for an application by hardware.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Do you think? please send me your comments.&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to capture process id and multi-thread for application from ARM hardware</title><link>https://community.arm.com/thread/2693?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 11:04:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e4d909c0-8514-453b-8567-410bdb358da1</guid><dc:creator>thiet pv</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 6th September 2011 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thanks for your reply,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt; I learn about contex register of ARM refer &lt;/span&gt;&lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0344c/Bgbeegaf.html" target="_blank"&gt;http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0344c/Bgbeegaf.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;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&amp;#39;t know why?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Do you think that it can help to specify PID?&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>