The QNX Momentics IDE System Profiler includes text descriptions of qvm events, so you don't need to do anything special to show these events.
If you don't have the qvm event descriptions for the IDE System Profiler, or if you need to update the qvm event descriptions to newer versions, you can create an event-descriptions file and copy it into your IDE project. To do this:
See Example of a descriptions file below for an example of a qvm events descriptions file.
After you have the qvm_events.xml in your project's root directory, you need to load the file into the IDE:
For more information about this IDE tool, see the System Profiler section in the IDE User's Guide.
Below, for reference, is a copy of the content of an XML event-descriptions file (qvm_events.xml):
<eventdefinitions> <!–– Guest Entry ––> <datakey format="%8u1x guest_ip"> <event class="10" id="0" /> </datakey> <!–– Guest Exit ––> <datakey format="%4u1x status %4u1x reason %8u1x cc_offset %8u1x guest_ip %8u1x payload"> <event class="10" id="1" /> </datakey> <!–– vCPU create ––> <datakey format="%4u1x vcpu_id"> <event class="10" id="2" /> </datakey> <!–– Raise interrupt ––> <datakey format="%4u1x vcpu_id %4u1x interrupt"> <event class="10" id="3" /> </datakey> <!–– Lower interrupt ––> <datakey format="%4u1x vcpu_id %4u1x interrupt"> <event class="10" id="4" /> </datakey> <!–– Create timer ––> <datakey format="%4u1x timer_id %4u1x cpu_id"> <event class="10" id="5" /> </datakey> <!–– Timer fire ––> <datakey format="%4u1x timer_id"> <event class="10" id="6" /> </datakey> <!–– Guest entry and exit ––> <datakey format="%8u1x at_entry %8u1x at_exit"> <event class="10" id="7" /> </datakey> </eventdefinitions>