eclipse-threadx / threadx

Eclipse ThreadX is an advanced real-time operating system (RTOS) designed specifically for deeply embedded applications.
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/threadx/index.md
MIT License
2.8k stars 768 forks source link

Is it possible to register a notification callback when using tx_trace_user_event_insert? #346

Open rocketion opened 5 months ago

rocketion commented 5 months ago

Is it possible to register a notification callback when using tx_trace_user_event_insert?

williamelamie commented 5 months ago

I don't see an easy way to do this without modifying the code in tx_trace_user_event_insert.c or the macro TX_TRACE_IN_LINE_INSERT. Could you share a bit more on what you are trying to accomplish in the callback?