[RTEMS Project] #3826: top on SMP shows invalid priorities

RTEMS trac trac at rtems.org
Sun Nov 24 23:26:08 UTC 2019


#3826: top on SMP shows invalid priorities
--------------------------+--------------------
  Reporter:  Chris Johns  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  5.1
 Component:  shell        |    Version:  5
  Severity:  normal       |   Keywords:
Blocked By:               |   Blocking:
--------------------------+--------------------
 Running `top` on a Zynq `zc706` gives ...
 {{{
  ID         | NAME                | RPRI | CPRI   | TIME                |
 TOTAL   | CURRENT
 ------------+---------------------+---------------+---------------------+---------+--^^----
  0x0a010008 | IRQS                |  4611686018427388000 |
 4611686018427388000   | 2.437559            |   0.000 |   0.022
 }}}

 The code in question is ...
 https://git.rtems.org/rtems/tree/cpukit/libmisc/cpuuse/cpuusagetop.c#n447

 What is best API to show a priority that makes this code robust?

--
Ticket URL: <http://devel.rtems.org/ticket/3826>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list