I've been experimenting with add my own event module with SystemView 2.42 and FreeRTOS
I'm looking for some usage guidance
* How can I filter to only show my new events (so I can see general high level code flow without getting bogged down in OS level events)? I had tried filtering by User events, but nothing shows up, so events added by RegisterModule() aren't considered User Events. I've not seen any reference to User events in the documentation at all, so I'm not sure how/if they can be used. Is there a way to filter to specific modules after a log has been collected?
* I have added M=MyModule description to the module registration, but it never obviously shows up in the GUI
* If I add additional registration info, such as T= or S=, then the additional text is treated as the first event's format string. That makes some sense as its a comma separated string, although the documentation suggests I can add multiple module description info. However, it doesn't (obviously) show up in the the GUI
e.g. "M=MyModule,T=MM, " \
Is the answer that I need to add a ...ModuleName.txt file? I'm seeing a log report about that.
Cheers!
Jason
I'm looking for some usage guidance
* How can I filter to only show my new events (so I can see general high level code flow without getting bogged down in OS level events)? I had tried filtering by User events, but nothing shows up, so events added by RegisterModule() aren't considered User Events. I've not seen any reference to User events in the documentation at all, so I'm not sure how/if they can be used. Is there a way to filter to specific modules after a log has been collected?
* I have added M=MyModule description to the module registration, but it never obviously shows up in the GUI
C Source Code
- SEGGER_SYSVIEW_MODULE_STRUCT systemViewModule =
- {
- "M=MyModule, " \
- "0 WP_EVENT_Post Event=%u arg0=%u arg1=%u, " \
- "1 WP_EVENT_Receive Event=%u arg0=%u arg1=%u res=%u", // sModule
- SV_MAX_EVENTS,
- 0, // Offset - set by SEGGER_SYSVIEW_Register_Module()
- systemViewModuleDesc,
- NULL // pNext - set by SEGGER_SYSVIEW_Register_Module()
- };
* If I add additional registration info, such as T= or S=, then the additional text is treated as the first event's format string. That makes some sense as its a comma separated string, although the documentation suggests I can add multiple module description info. However, it doesn't (obviously) show up in the the GUI
e.g. "M=MyModule,T=MM, " \
Is the answer that I need to add a ...ModuleName.txt file? I'm seeing a log report about that.
Cheers!
Jason