Skip to content
  • Hongzhan Chen's avatar
    KernelShark: Add xenomai_cobalt_switch_events plugin for KernelShark · aff219ae
    Hongzhan Chen authored and Jan Kiszka's avatar Jan Kiszka committed
    
    
    For Xenomai-cobalt enabled system, cobalt_switch_context means
    that there is schedule and context switch in companion core(realtime
    core), which we may need to do special treatment and take correct
    action as main kernel sched_switch to visualize out-of-band state
    of realtime tasks running in cobalt core. To achive our target,
    we implement following:
    
      1. store corresponding cobalt_switch_context events into
         container data.
      2. modify pid stored in entry to be equal to next_pid to
         show correct color in cpu bar when cobalt_switch_context
         event happen.
      3. show blue hollow box to mark out-of-band state according to
         cobalt_switch_context events.
      4. clickable cobalt_switch_context plugin shapes.
    
    Signed-off-by: default avatarHongzhan Chen <hongzhan.chen@intel.com>
    [Jan: rework installation]
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    aff219ae