<trace>
<set_aspects>
<field name="cpu" value="1" type="int" />
</set_aspects>
<event timestamp="1" name="statedump_block_device">
<field name="cpu" value="0" type="int" />
<field name="dev" value="8388624" type="long" />
<field name="diskname" value="sda" type="string" />
</event>
<event timestamp="3" name="sched_switch">
<field name="cpu" value="0" type="int" />
<field name="prev_comm" value="proc4" type="string" />
<field name="prev_tid" value="4" type="long" />
<field name="prev_prio" value="20" type="long" />
<field name="prev_state" value="0" type="long" />
<field name="next_comm" value="proc2" type="string" />
<field name="next_tid" value="2" type="long" />
<field name="next_prio" value="20" type="long" />
</event>
<event timestamp="5" name="syscall_entry_read">
<field name="cpu" value="0" type="int" />
<field name="fd" value="11" type="long" />
<field name="count" value="16" type="long" />
</event>
<event timestamp="10" name="syscall_exit_read">
<field name="cpu" value="0" type="int" />
<field name="ret" value="8" type="long" />
<field name="buf" value="123456" type="long" />
</event>
<event timestamp="20" name="syscall_entry_pread64">
<field name="cpu" value="0" type="int" />
<field name="fd" value="11" type="long" />
<field name="count" value="36" type="long" />
<field name="pos" value="64" type="long" />
</event>
<event timestamp="25" name="syscall_exit_pread64">
<field name="cpu" value="0" type="int" />
<field name="ret" value="36" type="long" />
<field name="buf" value="123456" type="long" />
</event>
<!-- Verify that syscalls with no ret field are handled gracefully -->
<event timestamp="28" name="syscall_exit_mmap2">
<field name="cpu" value="0" type="int" />
<field name="addr" value="3049263104" type="long" />
<field name="len" value="0" type="long" />
<field name="prot" value="4096" type="long" />
<field name="flags" value="3" type="long" />
<field name="fd" value="35" type="long" />
<field name="pgoff" value="-1" type="long" />
</event>
<event timestamp="30" name="sched_switch">
<field name="cpu" value="0" type="int" />
<field name="prev_comm" value="proc2" type="string" />
<field name="prev_tid" value="2" type="long" />
<field name="prev_prio" value="20" type="long" />
<field name="prev_state" value="0" type="long" />
<field name="next_comm" value="proc5" type="string" />
<field name="next_tid" value="5" type="long" />
<field name="next_prio" value="20" type="long" />
</event>
<event timestamp="35" name="syscall_entry_readv">
<field name="cpu" value="0" type="int" />
<field name="fd" value="11" type="long" />
<field name="vec" value="123123" type="long" />
<field name="vlen" value="1" type="long" />
</event>
<event timestamp="40" name="syscall_exit_readv">
<field name="cpu" value="0" type="int" />
<field name="ret" value="-11" type="long" />
<field name="buf" value="123456" type="long" />
</event>
<event timestamp="45" name="syscall_entry_preadv">
<field name="cpu" value="0" type="int" />
<field name="fd" value="11" type="long" />
<field name="pos" value="64" type="long" />
<field name="vec" value="123123" type="long" />
<field name="vlen" value="3" type="long" />
</event>
<event timestamp="50" name="syscall_exit_preadv">
<field name="cpu" value="0" type="int" />
<field name="ret" value="8" type="long" />
<field name="buf" value="123456" type="long" />
</event>
</trace>