Closed G-Foote closed 1 month ago
Hi @G-Foote! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
@jukkar can you take a look? seems like you missed the hooks for systemview when you did the networking tracing support
Sure, I will fix this asap.
Describe the bug
Adding
CONFIG_NETWORKING
to a project that has SEGGER SystemView tracing enabled causes compile errors.Board: stm32h573i_dk
To Reproduce
Update Zephyr to SHA:52540d84126
cd zephyr/
Add SystemView configuration to
samples/synchronization/prj.conf
west build --board=stm32h573i_dk samples/synchronization/
Project builds. Flashed to board and SystemView behaves as expected.
Add networking to config:
CONFIG_NETWORKING=y
Rebuild gives multiple compile errors from undefined references e.g.
zephyr/subsys/net/ip/net_if.c:281: undefined reference to 'sys_port_trace_net_tx_time'
Expected behavior Project builds successfully and allows tracing of networking calls.
Impact Showstopper - we need to be able to trace networking calls to debug issue with mDNS resolution.
Logs and console output
Environment (please complete the following information):
Additional context Disabling networking tracing with
CONFIG_TRACING_NETWORKING=n
has no effect.Having a look at the code, it looks like they are expected to be defined here tracing_sysview.h. It's included from tracing.h when
CONFIG_SEGGER_SYSTEMVIEW
is set.