Failed to enable tracking in Net subsys.

Hi,

I'm working on a project where we would like to track system performance using Segger Systemview.

I'm building with the following RTT configs:



and I'm getting the following errors:

I have tried to add these configs as well but without any luck:



Forgot to add:
Nordic SDK: 2.9.0
SiP: nrf9160
Modem FW version: 1.3.7

Parents
  • Hi,

    Check out the tracing sample and its prj_sysview.conf config. Try to build that sample with that file.

    Regards,
    Sigurd Hellesvik

  • Hi Sigurd,

    Thank you for your suggestion.

    It builds fine but I'm having a hard time to understand why the "CONFIG_TRACING is not set" in the build folder .config

    BR:
    Replay

  • Replay said:
    It builds fine but I'm having a hard time to understand why the "CONFIG_TRACING is not set" in the build folder .config

    Of your sample or the tracing sample?

  • The tracing sample from zephyr is building but "CONFIG_TRACING is not set" in the build folder .config.

  • You need to build using one of the prj_file_suffix.conf files instead of with the default prj.conf

  • Edit:
    Okay just by adding CONFIG_NETWORKING=y to the tracing sample the issue is present.

    Old:

    My bad thought I used the correct prj.conf file.

    Issue can be replicated when combining the tracing sample and azure_iot_hub sample:

    Here is a snippet from the .config from the tracing sample:

    and here is for the tracing sample where azure_iot_hub sample has been merged:



    Note the difference in network tracing in the bottom of the configs.

  • I found this in Zephyr 4.0.0 Release notes:

    "Fixed compilation issues with networking and SystemView Tracing enabled."

    See https://github.com/zephyrproject-rtos/zephyr/issues/79805

Reply Children
No Data