lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* What is _prev_state in sched_switch?
@ 2019-07-24  6:44 Ravindra Kumar Meena
  2019-07-24 14:02 ` Sebastien Boisvert
       [not found] ` <0e850b02-3fec-a335-3f37-8579ad1b704d@gydle.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Ravindra Kumar Meena @ 2019-07-24  6:44 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 1161 bytes --]

Hi,

I had a looked at TraceCompass example. I came across sched_swithc event in
present in the metadata.

event {
name = "sched_switch";
id = 27;
stream_id = 0;
fields := struct {
integer { size = 8; align = 8; signed = 0; encoding = UTF8; base = 10; }
_prev_comm[16];
integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; }
_prev_tid;
integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; }
_prev_prio;
integer { size = 64; align = 8; signed = 1; encoding = none; base = 10; }
_prev_state;
integer { size = 8; align = 8; signed = 0; encoding = UTF8; base = 10; }
_next_comm[16];
integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; }
_next_tid;
integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; }
_next_prio;
};
};

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.

Please attend this email ASAP.

Thanks

-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad

[-- Attachment #1.2: Type: text/html, Size: 1728 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-07-31  6:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-24  6:44 What is _prev_state in sched_switch? Ravindra Kumar Meena
2019-07-24 14:02 ` Sebastien Boisvert
     [not found] ` <0e850b02-3fec-a335-3f37-8579ad1b704d@gydle.com>
2019-07-24 14:09   ` Ravindra Kumar Meena
     [not found]   ` <CAEWVvOSu4vbiDpMCCTHdP59xNaMsAJ74orA52amRaFfoN7jfXQ@mail.gmail.com>
2019-07-24 14:30     ` Sebastien Boisvert
     [not found]     ` <18d63d8c-da2d-54c3-3a9a-1d77a5a3a675@gydle.com>
2019-07-29  9:07       ` Ravindra Kumar Meena
     [not found]       ` <CAEWVvORgCQW8ScJZctu7dzT3QaO0PY50qmR-Aov9YHV1GkB+JQ@mail.gmail.com>
     [not found]         ` <CAAS9doZ1AjBiVCPOZUPBZYVZ11hRohP5g9pmAU+pPU=EQo120Q@mail.gmail.com>
2019-07-29  9:53           ` Christophe Bédard
2019-07-29 15:08         ` Sebastien Boisvert
     [not found]         ` <aa931b19-0a14-8659-aa9a-13e7f6523465@gydle.com>
2019-07-31  6:48           ` Ravindra Kumar Meena

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).