1. 18 Mar, 2019 1 commit
    • Jan Kiszka's avatar
      cobalt: Add sched-quota tracepoints · 4f0f067a
      Jan Kiszka authored
      
      
      This instruments the sched-quota scheduling policy to track which groups
      exit, with which settings, and which threads belong to them.
      
      As trace_cobalt_schedquota_add_thread may be invoked before a thread is
      fully initialized, we need to trace also the thread address.
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      4f0f067a
  2. 03 Jul, 2018 4 commits
  3. 09 May, 2017 1 commit
  4. 02 Mar, 2016 1 commit
  5. 27 Nov, 2015 1 commit
  6. 06 Aug, 2015 1 commit
  7. 06 Jul, 2015 1 commit
  8. 18 Jun, 2015 1 commit
  9. 15 Nov, 2014 1 commit
    • Philippe Gerum's avatar
      cobalt/rtdm/mutex: fix rtdm_mutex_timedlock() · ef0992d6
      Philippe Gerum authored
      The fast path in rtdm_mutex_timedlock() was terminally broken by the
      not-so-recent addition of fast locks to RTDM-based kernel mutexes. As
      a matter of fact, the xnthread_try_grab() helper suffered multiple
      breakages, including the lack of update to the underlying fastlock
      word to reflect a successful locking operation.
      
      To this end, we introduce xnsynch_try_acquire() which properly
      attempts to grab the requested mutex on behalf of the current thread,
      and call it as a drop-in replacement for xnthread_try_grab().  Callers
      fall back to xnsynch_acquire() on failure to put a fast grab on the
      mutex.
      ef0992d6
  10. 09 Sep, 2014 1 commit
  11. 21 Aug, 2014 1 commit
  12. 11 Aug, 2014 1 commit
    • Philippe Gerum's avatar
      cobalt/intr: introduce IRQ disabled state · aefaab5d
      Philippe Gerum authored
      With the IRQ line enable/disable operations restricted to the root
      domain, interrupt handlers may not invoke xnintr_disable() directly to
      shut down the interrupt line.
      
      To support this requirement, we add an explicit disabled state to the
      interrupt descriptor, which the handler may turn on by returning the
      new XN_IRQ_DISABLE operation status. In response, the core disables
      the descriptor, shutting down the interrupt line in the same move
      instead of unmasking it on return from the interrupt context.
      
      XN_IRQ_DISABLE is exposed by RTDM as RTDM_IRQ_DISABLE.
      
      As a consequence of this change, XN_ISR_NOENABLE was dropped as we
      have no in-tree client which need such semantics anymore.
      
      At this chance, various naming and documentation fixes have been
      applied.
      aefaab5d
  13. 17 Jul, 2014 1 commit
  14. 29 Apr, 2014 1 commit
    • Philippe Gerum's avatar
      cobalt/kernel: convert legacy trace markers to kernel tracepoints · d8047b7a
      Philippe Gerum authored
      Rebase trace statements in the Cobalt core over the generic tracepoint
      API. A few former trace markers which did not help in analysing the
      dynamic behavior of the system have been dropped in the process.
      
      This work is originally based on Jan Kiszka's trace events conversion
      patch series for Xenomai 2.6.
      d8047b7a