All of lore.kernel.org
 help / color / mirror / Atom feed
* Task running on cobalt or gpos kernel
@ 2021-07-01 14:01 Rui Queiroz
  2021-07-02  6:21 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Rui Queiroz @ 2021-07-01 14:01 UTC (permalink / raw)
  To: xenomai

Hello,

Can someone enlighten me on whether there is some sort of command that
allows:
- checking if there are processes being scheduled by the cobalt scheduler
and list them;
- checking to see if a particular process being scheduled by cobalt RT
scheduler or if by the linux general purpose scheduler?

Thanks

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

* Re: Task running on cobalt or gpos kernel
  2021-07-01 14:01 Task running on cobalt or gpos kernel Rui Queiroz
@ 2021-07-02  6:21 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2021-07-02  6:21 UTC (permalink / raw)
  To: Rui Queiroz, xenomai

On 01.07.21 16:01, Rui Queiroz via Xenomai wrote:
> Hello,
> 
> Can someone enlighten me on whether there is some sort of command that
> allows:
> - checking if there are processes being scheduled by the cobalt scheduler
> and list them;
> - checking to see if a particular process being scheduled by cobalt RT
> scheduler or if by the linux general purpose scheduler?
> 

Have a look at the files under /proc/xenomai/sched/, specifically
'threads', and also check the thread flags as described in [1].

Jan

[1]
https://source.denx.de/Xenomai/xenomai/-/blob/master/include/cobalt/uapi/kernel/thread.h#L87

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2021-07-02  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01 14:01 Task running on cobalt or gpos kernel Rui Queiroz
2021-07-02  6:21 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.