[RTEMS Project] #2858: Add user defined thread names

RTEMS trac trac at rtems.org
Thu Jan 12 14:53:20 UTC 2017


#2858: Add user defined thread names
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  4.12
Component:  cpukit           |     Version:  4.12
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by sebastian.huber):

 With the new thread name support I get now

 {{{
 [/] # cpuuse
 -------------------------------------------------------------------------------
                               CPU USAGE BY THREAD
 ------------+----------------------------------------+---------------+---------
  ID         | NAME                                   | SECONDS       |
 PERCENT
 ------------+----------------------------------------+---------------+---------
  0x09010001 | IDLE                                   |      2.389090 |
 71.877
  0x0a010001 | UI1                                    |      0.214980 |
 6.464
  0x0a010002 | BSWP                                   |      0.005139 |
 0.154
  0x0a010003 | BRDA                                   |      0.001066 |
 0.032
  0x0a010004 | MDIA                                   |      0.000583 |
 0.017
  0x0a010005 | TIME                                   |      0.180753 |
 5.430
  0x0a010006 | IRQS                                   |      0.004529 |
 0.136
  0x0a010007 | swi1: netisr 0                         |      0.002570 |
 0.077
  0x0a010008 | kqueue_ctx task                        |      0.000676 |
 0.020
  0x0a010009 | swi5: fast task                        |      0.000059 |
 0.001
  0x0a01000a | thread taskq                           |      0.000058 |
 0.001
  0x0a01000b | swi6: task queu                        |      0.003285 |
 0.098
  0x0a01000c | DHCP                                   |      0.274554 |
 8.237
  0x0a01000d | FTPa                                   |      0.002210 |
 0.066
  0x0a01000e | FTPb                                   |      0.000352 |
 0.010
  0x0a01000f | FTPc                                   |      0.000240 |
 0.007
  0x0a010010 | FTPd                                   |      0.000347 |
 0.010
  0x0a010011 | FTPD                                   |      0.002903 |
 0.087
  0x0a010012 | TNTD                                   |      0.001117 |
 0.033
  0x0a010013 | SHLL                                   |      0.253692 |
 7.599
 ------------+----------------------------------------+---------------+---------
  TIME SINCE LAST CPU USAGE RESET IN SECONDS:
 3.338494
 -------------------------------------------------------------------------------
 }}}

 Before all the libbsd threads had the name "_BSD".

--
Ticket URL: <http://devel.rtems.org/ticket/2858#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list