<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cant find thread_analyzer.h in Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66429/cant-find-thread_analyzer-h-in-zephyr</link><description>Hello, 
 Currently developing a system based around the NRF9160 running Zephyr. My application is threaded and i would like to run the thread_analyzer. I got this working on previous project based on Zephyr by including: 
 CONFIG_THREAD_ANALYZER=y 
 CONFIG_THREAD_ANALYZER_USE_LOG</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Sep 2020 08:29:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66429/cant-find-thread_analyzer-h-in-zephyr" /><item><title>RE: Cant find thread_analyzer.h in Zephyr</title><link>https://devzone.nordicsemi.com/thread/271982?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 08:29:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c83d3ad-4e26-4bb3-9a06-41494f4cf993</guid><dc:creator>Laadpaalman</dc:creator><description>&lt;p&gt;Hey Martin,&lt;/p&gt;
&lt;p&gt;I removed #include &amp;lt;thread_analyzer.h&amp;gt; from my main.c in my project and moved up the CONFIG rules in regards to the thread analyzer in prj.conf and it started working. Can now dump all of my threads with the Zephyr commands.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cant find thread_analyzer.h in Zephyr</title><link>https://devzone.nordicsemi.com/thread/271750?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 11:35:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475fbb5c-996e-4112-a2a8-a33ba92fa2ed</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Laadpaalman,&lt;br /&gt;I tried to replicate the issue you are seeing, by adding the prj.conf of the at_client sample:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_THREAD_ANALYZER=y

CONFIG_THREAD_ANALYZER_USE_LOG=y

CONFIG_THREAD_ANALYZER_AUTO=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;However it compiled without any issues.&amp;nbsp;&lt;br /&gt;I am running NCS master branch, which version of NCS may you be using?&lt;br /&gt;&lt;br /&gt;Does including:&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;lt;thread_analyzer.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In your main.c change anything?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Martin L.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>