<?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>Failed to enable tracking in Net subsys.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120353/failed-to-enable-tracking-in-net-subsys</link><description>Hi, I&amp;#39;m working on a project where we would like to track system performance using Segger Systemview. I&amp;#39;m building with the following RTT configs: and I&amp;#39;m getting the following errors: 
 I have tried to add these configs as well but without any luck:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Apr 2025 13:36:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120353/failed-to-enable-tracking-in-net-subsys" /><item><title>RE: Failed to enable tracking in Net subsys.</title><link>https://devzone.nordicsemi.com/thread/530638?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 13:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40432f80-5fed-4ddd-a49e-21579582a6a3</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I found this in&lt;a href="https://docs.zephyrproject.org/latest/releases/release-notes-4.0.html"&gt; Zephyr 4.0.0 Release notes:&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;Fixed compilation issues with networking and SystemView Tracing enabled.&amp;quot;&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/79805"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/79805&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to enable tracking in Net subsys.</title><link>https://devzone.nordicsemi.com/thread/530535?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 05:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8435a434-a6ac-4ca2-a218-0aedff096a50</guid><dc:creator>Replay</dc:creator><description>&lt;p&gt;Edit:&lt;br /&gt;Okay just by adding CONFIG_NETWORKING=y to the tracing sample the issue is present.&lt;br /&gt;&lt;br /&gt;Old:&lt;br /&gt;&lt;br /&gt;My bad thought I used the correct prj.conf file.&lt;br /&gt;&lt;br /&gt;Issue can be replicated when combining the tracing sample and azure_iot_hub sample:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is a snippet from the .config from the tracing sample:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Tracing Configuration
#
CONFIG_TRACING_SYSCALL=y
CONFIG_TRACING_THREAD=y
CONFIG_TRACING_WORK=y
CONFIG_TRACING_ISR=y
CONFIG_TRACING_SEMAPHORE=y
CONFIG_TRACING_MUTEX=y
CONFIG_TRACING_CONDVAR=y
CONFIG_TRACING_QUEUE=y
CONFIG_TRACING_FIFO=y
CONFIG_TRACING_LIFO=y
CONFIG_TRACING_STACK=y
CONFIG_TRACING_MESSAGE_QUEUE=y
CONFIG_TRACING_MAILBOX=y
CONFIG_TRACING_PIPE=y
CONFIG_TRACING_HEAP=y
CONFIG_TRACING_MEMORY_SLAB=y
CONFIG_TRACING_TIMER=y
CONFIG_TRACING_EVENT=y
CONFIG_TRACING_POLLING=y
CONFIG_TRACING_PM=y
# CONFIG_TRACING_NETWORKING is not set
# end of Tracing Configuration&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and here is for the tracing sample where azure_iot_hub sample has been merged:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Tracing Configuration
#
CONFIG_TRACING_SYSCALL=y
CONFIG_TRACING_THREAD=y
CONFIG_TRACING_WORK=y
CONFIG_TRACING_ISR=y
CONFIG_TRACING_SEMAPHORE=y
CONFIG_TRACING_MUTEX=y
CONFIG_TRACING_CONDVAR=y
CONFIG_TRACING_QUEUE=y
CONFIG_TRACING_FIFO=y
CONFIG_TRACING_LIFO=y
CONFIG_TRACING_STACK=y
CONFIG_TRACING_MESSAGE_QUEUE=y
CONFIG_TRACING_MAILBOX=y
CONFIG_TRACING_PIPE=y
CONFIG_TRACING_HEAP=y
CONFIG_TRACING_MEMORY_SLAB=y
CONFIG_TRACING_TIMER=y
CONFIG_TRACING_EVENT=y
CONFIG_TRACING_POLLING=y
CONFIG_TRACING_PM=y
CONFIG_TRACING_NETWORKING=y
CONFIG_TRACING_NET_SOCKETS=y
CONFIG_TRACING_NET_CORE=y
# end of Tracing Configuration&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Note the difference in network tracing in the bottom of the configs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to enable tracking in Net subsys.</title><link>https://devzone.nordicsemi.com/thread/530393?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 08:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a121335-e46d-4c78-9524-ed856b12ac6d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;You need to build using one of the prj_file_suffix.conf files instead of with the default prj.conf&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to enable tracking in Net subsys.</title><link>https://devzone.nordicsemi.com/thread/530356?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 05:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a071ded5-23a2-42cc-9d6e-5a2dd9a6badb</guid><dc:creator>Replay</dc:creator><description>&lt;p&gt;The tracing sample from zephyr is building but &amp;quot;CONFIG_TRACING is not set&amp;quot; in the build folder .config.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to enable tracking in Net subsys.</title><link>https://devzone.nordicsemi.com/thread/530262?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 13:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:248b05f2-d842-4ff5-865d-e56ecc8e7c9f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Replay"]It builds fine but I&amp;#39;m having a hard time to understand why the &amp;quot;CONFIG_TRACING is not set&amp;quot; in the build folder .config[/quote]
&lt;p&gt;Of your sample or the tracing sample?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to enable tracking in Net subsys.</title><link>https://devzone.nordicsemi.com/thread/530233?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 12:21:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12bdfabf-ac20-42fe-b5f9-cdcca64cb203</guid><dc:creator>Replay</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;br /&gt;&lt;br /&gt;Thank you for your suggestion.&lt;br /&gt;&lt;br /&gt;It builds fine but I&amp;#39;m having a hard time to understand why the &amp;quot;CONFIG_TRACING is not set&amp;quot; in the build folder .config&lt;br /&gt;&lt;br /&gt;BR:&lt;br /&gt;Replay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to enable tracking in Net subsys.</title><link>https://devzone.nordicsemi.com/thread/529952?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 10:51:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:403d0312-fcb1-4dfb-b5eb-b6a32ccce31a</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Check out the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v3.7.99-ncs3/samples/subsys/tracing"&gt;tracing sample&lt;/a&gt; and its prj_sysview.conf config. Try to build that sample with that file.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>