<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 24, 2019, 7:33 PM Sebastien Boisvert <<a href="mailto:sboisvert@gydle.com">sboisvert@gydle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 2019-07-24 2:44 a.m., Ravindra Kumar Meena wrote:<br>
> Hi,<br>
> <br>
> I had a looked at TraceCompass example. I came across sched_swithc event in present in the metadata.<br>
> <br>
> event {<br>
> name = "sched_switch";<br>
> id = 27;<br>
> stream_id = 0;<br>
> fields := struct {<br>
> integer { size = 8; align = 8; signed = 0; encoding = UTF8; base = 10; } _prev_comm[16];<br>
> integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _prev_tid;<br>
> integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _prev_prio;<br>
> integer { size = 64; align = 8; signed = 1; encoding = none; base = 10; } _prev_state;<br>
> integer { size = 8; align = 8; signed = 0; encoding = UTF8; base = 10; } _next_comm[16];<br>
> integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _next_tid;<br>
> integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _next_prio;<br>
> };<br>
> };<br>
> <br>
> All event.fields variables are clear to me but what does _prev_state do here? I had a looked at its babeltrace output but found no pattern in _prev_state value.<br>
> <br>
> Please attend this email ASAP.<br>
<br>
I think that writing "Please attend this email ASAP" is somehow rude.<br></blockquote></div></div><div dir="auto">Okay. Sorry for that. It won't happen again.</div><div dir="auto"><br></div><div dir="auto">I want to know what _prev_state means in sched_switch event.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>