This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Cant find thread_analyzer.h in Zephyr

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=y

CONFIG_THREAD_ANALYZER_AUTO=y

However when i try to compile it for the NRF9160 I get the error <thread_analyzer.h> not found, how could i solve this?

Parents
  • Hi Laadpaalman,
    I tried to replicate the issue you are seeing, by adding the prj.conf of the at_client sample:

    CONFIG_THREAD_ANALYZER=y
    
    CONFIG_THREAD_ANALYZER_USE_LOG=y
    
    CONFIG_THREAD_ANALYZER_AUTO=y


    However it compiled without any issues. 
    I am running NCS master branch, which version of NCS may you be using?

    Does including: 

    #include <thread_analyzer.h>
    In your main.c change anything?

    Best regards,
    Martin L.
Reply
  • Hi Laadpaalman,
    I tried to replicate the issue you are seeing, by adding the prj.conf of the at_client sample:

    CONFIG_THREAD_ANALYZER=y
    
    CONFIG_THREAD_ANALYZER_USE_LOG=y
    
    CONFIG_THREAD_ANALYZER_AUTO=y


    However it compiled without any issues. 
    I am running NCS master branch, which version of NCS may you be using?

    Does including: 

    #include <thread_analyzer.h>
    In your main.c change anything?

    Best regards,
    Martin L.
Children
Related