RTEMS-5
Annotated Report
Fri Aug 10 14:29:34 2018
4003d6f4 <rtems_cpu_info_report>:
str[ 3 ] = bits_to_char( (uint8_t) ( name >> 0 ) );
str[ 4 ] = '\0';
}
int rtems_cpu_info_report( const rtems_printer *printer )
{
4003d6f4: 9d e3 bf 98 save %sp, -104, %sp
<== NOT EXECUTED
uint32_t cpu_index;
int n;
cpu_max = rtems_configuration_get_maximum_processors();
n = rtems_printf(
4003d6f8: 13 10 02 0b sethi %hi(0x40082c00), %o1
<== NOT EXECUTED
4003d6fc: 90 10 00 18 mov %i0, %o0
<== NOT EXECUTED
4003d700: 7f ff 3b b6 call 4000c5d8 <rtems_printf>
<== NOT EXECUTED
4003d704: 92 12 63 68 or %o1, 0x368, %o1
<== NOT EXECUTED
cpu = _Per_CPU_Get_by_index( cpu_index );
scheduler = _Scheduler_Get_by_CPU( cpu );
if ( scheduler != NULL ) {
scheduler_id = _Scheduler_Build_id( _Scheduler_Get_index( scheduler ) );
name_to_str( scheduler->name, scheduler_str );
4003d708: 03 10 01 f1 sethi %hi(0x4007c400), %g1
<== NOT EXECUTED
n = rtems_printf(
4003d70c: b6 10 00 08 mov %o0, %i3
<== NOT EXECUTED
return isprint( bits ) ? (char) bits : '?';
4003d710: 40 00 8c b9 call 400609f4 <__locale_ctype_ptr>
<== NOT EXECUTED
4003d714: fa 00 63 60 ld [ %g1 + 0x360 ], %i5
<== NOT EXECUTED
str[ 0 ] = bits_to_char( (uint8_t) ( name >> 24 ) );
4003d718: b9 37 60 18 srl %i5, 0x18, %i4
<== NOT EXECUTED
return isprint( bits ) ? (char) bits : '?';
4003d71c: 90 02 00 1c add %o0, %i4, %o0
<== NOT EXECUTED
4003d720: c2 4a 20 01 ldsb [ %o0 + 1 ], %g1
<== NOT EXECUTED
4003d724: 80 88 60 97 btst 0x97, %g1
<== NOT EXECUTED
4003d728: 22 80 00 02 be,a 4003d730 <rtems_cpu_info_report+0x3c>
<== NOT EXECUTED
4003d72c: b8 10 20 3f mov 0x3f, %i4
<== NOT EXECUTED
4003d730: 40 00 8c b1 call 400609f4 <__locale_ctype_ptr>
<== NOT EXECUTED
4003d734: f8 2f bf f8 stb %i4, [ %fp + -8 ]
<== NOT EXECUTED
str[ 1 ] = bits_to_char( (uint8_t) ( name >> 16 ) );
4003d738: b9 37 60 10 srl %i5, 0x10, %i4
<== NOT EXECUTED
return isprint( bits ) ? (char) bits : '?';
4003d73c: 82 0f 20 ff and %i4, 0xff, %g1
<== NOT EXECUTED
4003d740: 90 02 00 01 add %o0, %g1, %o0
<== NOT EXECUTED
4003d744: c2 4a 20 01 ldsb [ %o0 + 1 ], %g1
<== NOT EXECUTED
4003d748: 80 88 60 97 btst 0x97, %g1
<== NOT EXECUTED
4003d74c: 22 80 00 02 be,a 4003d754 <rtems_cpu_info_report+0x60>
<== NOT EXECUTED
4003d750: b8 10 20 3f mov 0x3f, %i4
<== NOT EXECUTED
4003d754: 40 00 8c a8 call 400609f4 <__locale_ctype_ptr>
<== NOT EXECUTED
4003d758: f8 2f bf f9 stb %i4, [ %fp + -7 ]
<== NOT EXECUTED
str[ 2 ] = bits_to_char( (uint8_t) ( name >> 8 ) );
4003d75c: b9 37 60 08 srl %i5, 8, %i4
<== NOT EXECUTED
return isprint( bits ) ? (char) bits : '?';
4003d760: 82 0f 20 ff and %i4, 0xff, %g1
<== NOT EXECUTED
4003d764: 90 02 00 01 add %o0, %g1, %o0
<== NOT EXECUTED
4003d768: c2 4a 20 01 ldsb [ %o0 + 1 ], %g1
<== NOT EXECUTED
4003d76c: 80 88 60 97 btst 0x97, %g1
<== NOT EXECUTED
4003d770: 22 80 00 02 be,a 4003d778 <rtems_cpu_info_report+0x84>
<== NOT EXECUTED
4003d774: b8 10 20 3f mov 0x3f, %i4
<== NOT EXECUTED
4003d778: 40 00 8c 9f call 400609f4 <__locale_ctype_ptr>
<== NOT EXECUTED
4003d77c: f8 2f bf fa stb %i4, [ %fp + -6 ]
<== NOT EXECUTED
4003d780: 82 0f 60 ff and %i5, 0xff, %g1
<== NOT EXECUTED
4003d784: 90 02 00 01 add %o0, %g1, %o0
<== NOT EXECUTED
4003d788: c2 4a 20 01 ldsb [ %o0 + 1 ], %g1
<== NOT EXECUTED
4003d78c: 80 88 60 97 btst 0x97, %g1
<== NOT EXECUTED
4003d790: 22 80 00 02 be,a 4003d798 <rtems_cpu_info_report+0xa4>
<== NOT EXECUTED
4003d794: ba 10 20 3f mov 0x3f, %i5
<== NOT EXECUTED
str[ 3 ] = bits_to_char( (uint8_t) ( name >> 0 ) );
4003d798: fa 2f bf fb stb %i5, [ %fp + -5 ]
<== NOT EXECUTED
} else {
scheduler_id = 0;
scheduler_str[ 0 ] = '\0';
}
n += rtems_printf(
4003d79c: 9a 07 bf f8 add %fp, -8, %o5
<== NOT EXECUTED
str[ 4 ] = '\0';
4003d7a0: c0 2f bf fc clrb [ %fp + -4 ]
<== NOT EXECUTED
n += rtems_printf(
4003d7a4: 96 10 20 01 mov 1, %o3
<== NOT EXECUTED
4003d7a8: 94 10 20 00 clr %o2
<== NOT EXECUTED
4003d7ac: 90 10 00 18 mov %i0, %o0
<== NOT EXECUTED
4003d7b0: 19 03 c0 40 sethi %hi(0xf010000), %o4
<== NOT EXECUTED
4003d7b4: 13 10 02 0c sethi %hi(0x40083000), %o1
<== NOT EXECUTED
4003d7b8: 98 13 20 01 or %o4, 1, %o4
<== NOT EXECUTED
4003d7bc: 7f ff 3b 87 call 4000c5d8 <rtems_printf>
<== NOT EXECUTED
4003d7c0: 92 12 60 c0 or %o1, 0xc0, %o1
<== NOT EXECUTED
&scheduler_str[ 0 ]
);
}
return n;
}
4003d7c4: 81 c7 e0 08 ret
<== NOT EXECUTED
4003d7c8: 91 ee c0 08 restore %i3, %o0, %o0
<== NOT EXECUTED
4003d8b0 <rtems_cpu_usage_report_with_plugin>:
* rtems_cpu_usage_report
*/
void rtems_cpu_usage_report_with_plugin(
const rtems_printer *printer
)
{
4003d8b0: 9d e3 bf 88 save %sp, -120, %sp
<== NOT EXECUTED
* When not using nanosecond CPU usage resolution, we have to count
* the number of "ticks" we gave credit for to give the user a rough
* guideline as to what each number means proportionally.
*/
_Timestamp_Set_to_zero( &ctx.total );
ctx.uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;
4003d8b4: 03 10 02 44 sethi %hi(0x40091000), %g1
<== NOT EXECUTED
4003d8b8: c4 18 63 70 ldd [ %g1 + 0x370 ], %g2 ! 40091370 <CPU_usage_Uptime_at_last_reset>
<== NOT EXECUTED
4003d8bc: c4 3f bf f8 std %g2, [ %fp + -8 ]
<== NOT EXECUTED
rtems_printf(
4003d8c0: 90 10 00 18 mov %i0, %o0
<== NOT EXECUTED
*_time = 0;
4003d8c4: c0 27 bf f0 clr [ %fp + -16 ]
<== NOT EXECUTED
4003d8c8: 13 10 02 0c sethi %hi(0x40083000), %o1
<== NOT EXECUTED
4003d8cc: c0 27 bf f4 clr [ %fp + -12 ]
<== NOT EXECUTED
4003d8d0: 92 12 61 10 or %o1, 0x110, %o1
<== NOT EXECUTED
4003d8d4: 7f ff 3b 41 call 4000c5d8 <rtems_printf>
<== NOT EXECUTED
4003d8d8: f0 27 bf e8 st %i0, [ %fp + -24 ]
<== NOT EXECUTED
"------------+----------------------------------------+---------------+---------\n"
" ID | NAME | SECONDS | PERCENT\n"
"------------+----------------------------------------+---------------+---------\n"
);
rtems_task_iterate( cpu_usage_visitor, &ctx );
4003d8dc: 92 07 bf e8 add %fp, -24, %o1
<== NOT EXECUTED
4003d8e0: 11 10 00 f5 sethi %hi(0x4003d400), %o0
<== NOT EXECUTED
4003d8e4: 7f ff 70 34 call 400199b4 <rtems_task_iterate>
<== NOT EXECUTED
4003d8e8: 90 12 23 cc or %o0, 0x3cc, %o0 ! 4003d7cc <cpu_usage_visitor>
<== NOT EXECUTED
4003d8ec: 05 0e e6 b2 sethi %hi(0x3b9ac800), %g2
<== NOT EXECUTED
4003d8f0: 96 10 a2 00 or %g2, 0x200, %o3 ! 3b9aca00 <RAM_SIZE+0x3b5aca00>
<== NOT EXECUTED
4003d8f4: c4 07 bf f4 ld [ %fp + -12 ], %g2
<== NOT EXECUTED
4003d8f8: 86 50 80 0b umul %g2, %o3, %g3
<== NOT EXECUTED
4003d8fc: 85 40 00 00 rd %y, %g2
<== NOT EXECUTED
seconds = _Timestamp_Get_seconds( &ctx.total );
nanoseconds = _Timestamp_Get_nanoseconds( &ctx.total ) /
TOD_NANOSECONDS_PER_MICROSECOND;
rtems_printf(
4003d900: d4 07 bf f0 ld [ %fp + -16 ], %o2
<== NOT EXECUTED
4003d904: 13 10 02 0c sethi %hi(0x40083000), %o1
<== NOT EXECUTED
nanoseconds = _Timestamp_Get_nanoseconds( &ctx.total ) /
4003d908: 17 04 18 93 sethi %hi(0x10624c00), %o3
<== NOT EXECUTED
rtems_printf(
4003d90c: 92 12 62 88 or %o1, 0x288, %o1
<== NOT EXECUTED
nanoseconds = _Timestamp_Get_nanoseconds( &ctx.total ) /
4003d910: 96 12 e1 d3 or %o3, 0x1d3, %o3
<== NOT EXECUTED
rtems_printf(
4003d914: 90 10 00 18 mov %i0, %o0
<== NOT EXECUTED
nanoseconds = _Timestamp_Get_nanoseconds( &ctx.total ) /
4003d918: 80 50 80 0b umul %g2, %o3, %g0
<== NOT EXECUTED
4003d91c: 97 40 00 00 rd %y, %o3
<== NOT EXECUTED
rtems_printf(
4003d920: 7f ff 3b 2e call 4000c5d8 <rtems_printf>
<== NOT EXECUTED
4003d924: 97 32 e0 06 srl %o3, 6, %o3
<== NOT EXECUTED
"------------+----------------------------------------+---------------+---------\n"
" TIME SINCE LAST CPU USAGE RESET IN SECONDS: %7" PRIu32 ".%06" PRIu32 "\n"
"-------------------------------------------------------------------------------\n",
seconds, nanoseconds
);
}
4003d928: 81 c7 e0 08 ret
<== NOT EXECUTED
4003d92c: 81 e8 00 00 restore
<== NOT EXECUTED
4003d94c <rtems_cpu_usage_reset>:
/*
* rtems_cpu_usage_reset
*/
void rtems_cpu_usage_reset( void )
{
4003d94c: 9d e3 bf a0 save %sp, -96, %sp
<== NOT EXECUTED
4003d950: 7f ff 78 0e call 4001b988 <_Timecounter_Sbinuptime>
<== NOT EXECUTED
4003d954: 3b 10 02 44 sethi %hi(0x40091000), %i5
<== NOT EXECUTED
uint32_t cpu_count;
uint32_t cpu_index;
_TOD_Get_uptime( &CPU_usage_Uptime_at_last_reset );
cpu_count = rtems_get_processor_count();
4003d958: 7f ff 6e ff call 40019554 <rtems_get_processor_count>
<== NOT EXECUTED
4003d95c: d0 3f 63 70 std %o0, [ %i5 + 0x370 ] ! 40091370 <CPU_usage_Uptime_at_last_reset>
<== NOT EXECUTED
for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) {
4003d960: 80 a2 20 00 cmp %o0, 0
<== NOT EXECUTED
4003d964: 02 80 00 0a be 4003d98c <rtems_cpu_usage_reset+0x40>
<== NOT EXECUTED
4003d968: 03 10 02 44 sethi %hi(0x40091000), %g1
<== NOT EXECUTED
Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index );
cpu->cpu_usage_timestamp = CPU_usage_Uptime_at_last_reset;
4003d96c: f8 1f 63 70 ldd [ %i5 + 0x370 ], %i4
<== NOT EXECUTED
for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) {
4003d970: 84 10 20 00 clr %g2
<== NOT EXECUTED
4003d974: 82 10 62 68 or %g1, 0x268, %g1
<== NOT EXECUTED
cpu->cpu_usage_timestamp = CPU_usage_Uptime_at_last_reset;
4003d978: f8 38 40 00 std %i4, [ %g1 ]
<== NOT EXECUTED
for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) {
4003d97c: 84 00 a0 01 inc %g2
<== NOT EXECUTED
4003d980: 80 a2 00 02 cmp %o0, %g2
<== NOT EXECUTED
4003d984: 12 bf ff fd bne 4003d978 <rtems_cpu_usage_reset+0x2c>
<== NOT EXECUTED
4003d988: 82 00 60 50 add %g1, 0x50, %g1
<== NOT EXECUTED
}
rtems_task_iterate(CPU_usage_Per_thread_handler, NULL);
4003d98c: 31 10 00 f6 sethi %hi(0x4003d800), %i0
<== NOT EXECUTED
4003d990: b2 10 20 00 clr %i1
<== NOT EXECUTED
4003d994: 7f ff 70 08 call 400199b4 <rtems_task_iterate>
<== NOT EXECUTED
4003d998: 91 ee 21 30 restore %i0, 0x130, %o0
<== NOT EXECUTED
4003e794 <rtems_cpu_usage_top_with_plugin>:
void rtems_cpu_usage_top_with_plugin(
const rtems_printer *printer
)
{
4003e794: 9d e3 bf 18 save %sp, -232, %sp
<== NOT EXECUTED
rtems_name name;
rtems_id id;
rtems_cpu_usage_data data;
int show_lines = 25;
memset(&data, 0, sizeof(data));
4003e798: 94 10 20 80 mov 0x80, %o2
<== NOT EXECUTED
4003e79c: 92 10 20 00 clr %o1
<== NOT EXECUTED
4003e7a0: 40 00 8a 96 call 400611f8 <memset>
<== NOT EXECUTED
4003e7a4: 90 07 bf 80 add %fp, -128, %o0
<== NOT EXECUTED
data.thread_run = true;
4003e7a8: 82 10 20 01 mov 1, %g1
<== NOT EXECUTED
4003e7ac: c2 2f bf 80 stb %g1, [ %fp + -128 ]
<== NOT EXECUTED
data.sort_order = RTEMS_TOP_SORT_CURRENT;
data.poll_rate_usecs = 3000;
data.show = show_lines;
data.printer = printer;
sc = rtems_task_set_priority (RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &priority);
4003e7b0: 94 07 bf 78 add %fp, -136, %o2
<== NOT EXECUTED
data.single_page = true;
4003e7b4: c2 2f bf 82 stb %g1, [ %fp + -126 ]
<== NOT EXECUTED
data.sort_order = RTEMS_TOP_SORT_CURRENT;
4003e7b8: 82 10 20 04 mov 4, %g1
<== NOT EXECUTED
4003e7bc: c2 27 bf 84 st %g1, [ %fp + -124 ]
<== NOT EXECUTED
data.poll_rate_usecs = 3000;
4003e7c0: 82 10 2b b8 mov 0xbb8, %g1
<== NOT EXECUTED
4003e7c4: c2 27 bf 88 st %g1, [ %fp + -120 ]
<== NOT EXECUTED
data.show = show_lines;
4003e7c8: 82 10 20 19 mov 0x19, %g1
<== NOT EXECUTED
data.printer = printer;
4003e7cc: f0 27 bf 90 st %i0, [ %fp + -112 ]
<== NOT EXECUTED
sc = rtems_task_set_priority (RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &priority);
4003e7d0: 92 10 20 00 clr %o1
<== NOT EXECUTED
data.show = show_lines;
4003e7d4: c2 27 bf 8c st %g1, [ %fp + -116 ]
<== NOT EXECUTED
sc = rtems_task_set_priority (RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &priority);
4003e7d8: 40 00 17 17 call 40044434 <rtems_task_set_priority>
<== NOT EXECUTED
4003e7dc: 90 10 20 00 clr %o0
<== NOT EXECUTED
if (sc != RTEMS_SUCCESSFUL)
4003e7e0: 80 a2 20 00 cmp %o0, 0
<== NOT EXECUTED
4003e7e4: 12 80 00 39 bne 4003e8c8 <rtems_cpu_usage_top_with_plugin+0x134>
<== NOT EXECUTED
4003e7e8: d2 07 bf 78 ld [ %fp + -136 ], %o1
<== NOT EXECUTED
return;
}
name = rtems_build_name('C', 'P', 'l', 't');
sc = rtems_task_create (name, priority, 4 * 1024,
4003e7ec: 9a 07 bf 7c add %fp, -132, %o5
<== NOT EXECUTED
4003e7f0: 98 10 26 00 mov 0x600, %o4
<== NOT EXECUTED
4003e7f4: 96 10 20 00 clr %o3
<== NOT EXECUTED
4003e7f8: 15 00 00 04 sethi %hi(0x1000), %o2
<== NOT EXECUTED
4003e7fc: 11 10 d4 1b sethi %hi(0x43506c00), %o0
<== NOT EXECUTED
4003e800: 7f ff 6b b5 call 400196d4 <rtems_task_create>
<== NOT EXECUTED
4003e804: 90 12 20 74 or %o0, 0x74, %o0 ! 43506c74 <RAM_END+0x3106c74>
<== NOT EXECUTED
RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
RTEMS_PREEMPT | RTEMS_TIMESLICE | RTEMS_NO_ASR,
&id);
if (sc != RTEMS_SUCCESSFUL)
4003e808: 80 a2 20 00 cmp %o0, 0
<== NOT EXECUTED
4003e80c: 12 80 00 26 bne 4003e8a4 <rtems_cpu_usage_top_with_plugin+0x110>
<== NOT EXECUTED
4003e810: 94 07 bf 80 add %fp, -128, %o2
<== NOT EXECUTED
rtems_printf (printer,
"error: cannot create helper thread: %s\n", rtems_status_text (sc));
return;
}
sc = rtems_task_start (id, rtems_cpuusage_top_thread, (rtems_task_argument) &data);
4003e814: d0 07 bf 7c ld [ %fp + -132 ], %o0
<== NOT EXECUTED
4003e818: 13 10 00 f7 sethi %hi(0x4003dc00), %o1
<== NOT EXECUTED
int show_lines = 25;
4003e81c: ba 10 20 19 mov 0x19, %i5
<== NOT EXECUTED
sc = rtems_task_start (id, rtems_cpuusage_top_thread, (rtems_task_argument) &data);
4003e820: 92 12 62 e0 or %o1, 0x2e0, %o1
<== NOT EXECUTED
4003e824: 7f ff 6c 81 call 40019a28 <rtems_task_start>
<== NOT EXECUTED
4003e828: b8 10 20 04 mov 4, %i4
<== NOT EXECUTED
if (sc != RTEMS_SUCCESSFUL)
4003e82c: 80 a2 20 00 cmp %o0, 0
<== NOT EXECUTED
4003e830: 12 80 00 76 bne 4003ea08 <rtems_cpu_usage_top_with_plugin+0x274>
<== NOT EXECUTED
4003e834: 01 00 00 00 nop
<== NOT EXECUTED
return;
}
while (true)
{
int c = getchar ();
4003e838: 40 00 82 0c call 4005f068 <getchar>
<== NOT EXECUTED
4003e83c: 01 00 00 00 nop
<== NOT EXECUTED
if ((c == '\r') || (c == '\n') || (c == 'q') || (c == 'Q'))
4003e840: 80 a2 20 0d cmp %o0, 0xd
<== NOT EXECUTED
4003e844: 02 80 00 3f be 4003e940 <rtems_cpu_usage_top_with_plugin+0x1ac>
<== NOT EXECUTED
4003e848: 80 a2 20 0a cmp %o0, 0xa
<== NOT EXECUTED
4003e84c: 02 80 00 3d be 4003e940 <rtems_cpu_usage_top_with_plugin+0x1ac>
<== NOT EXECUTED
4003e850: 82 0a 3f df and %o0, -33, %g1
<== NOT EXECUTED
4003e854: 80 a0 60 51 cmp %g1, 0x51
<== NOT EXECUTED
4003e858: 02 80 00 3a be 4003e940 <rtems_cpu_usage_top_with_plugin+0x1ac>
<== NOT EXECUTED
4003e85c: 80 a2 20 3c cmp %o0, 0x3c
<== NOT EXECUTED
rtems_task_wake_after (RTEMS_MICROSECONDS_TO_TICKS (100000));
rtems_printf (printer, "load monitoring stopped.\n");
return;
}
else if (c == '<')
4003e860: 02 80 00 23 be 4003e8ec <rtems_cpu_usage_top_with_plugin+0x158>
<== NOT EXECUTED
4003e864: 80 a2 20 3e cmp %o0, 0x3e
<== NOT EXECUTED
data.sort_order = RTEMS_TOP_SORT_MAX;
else
--data.sort_order;
rtems_event_send(id, RTEMS_EVENT_1);
}
else if (c == '>')
4003e868: 02 80 00 2a be 4003e910 <rtems_cpu_usage_top_with_plugin+0x17c>
<== NOT EXECUTED
4003e86c: 80 a0 60 53 cmp %g1, 0x53
<== NOT EXECUTED
data.sort_order = 0;
else
++data.sort_order;
rtems_event_send(id, RTEMS_EVENT_1);
}
else if ((c == 's') || (c == 'S'))
4003e870: 02 80 00 5b be 4003e9dc <rtems_cpu_usage_top_with_plugin+0x248>
<== NOT EXECUTED
4003e874: 80 a0 60 41 cmp %g1, 0x41
<== NOT EXECUTED
{
data.single_page = !data.single_page;
rtems_event_send(id, RTEMS_EVENT_1);
}
else if ((c == 'a') || (c == 'A'))
4003e878: 02 80 00 4d be 4003e9ac <rtems_cpu_usage_top_with_plugin+0x218>
<== NOT EXECUTED
4003e87c: 80 a2 20 2b cmp %o0, 0x2b
<== NOT EXECUTED
data.show = show_lines;
else
data.show = 0;
rtems_event_send(id, RTEMS_EVENT_1);
}
else if (c == '+')
4003e880: 02 80 00 6d be 4003ea34 <rtems_cpu_usage_top_with_plugin+0x2a0>
<== NOT EXECUTED
4003e884: 80 a2 20 2d cmp %o0, 0x2d
<== NOT EXECUTED
{
++show_lines;
if (data.show != 0)
data.show = show_lines;
}
else if (c == '-')
4003e888: 02 80 00 71 be 4003ea4c <rtems_cpu_usage_top_with_plugin+0x2b8>
<== NOT EXECUTED
4003e88c: 80 a2 20 20 cmp %o0, 0x20
<== NOT EXECUTED
if (show_lines > 5)
--show_lines;
if (data.show != 0)
data.show = show_lines;
}
else if (c == ' ')
4003e890: 12 bf ff ea bne 4003e838 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
4003e894: d0 07 bf 7c ld [ %fp + -132 ], %o0
<== NOT EXECUTED
{
rtems_event_send(id, RTEMS_EVENT_1);
4003e898: 7f ff 6a d8 call 400193f8 <rtems_event_send>
<== NOT EXECUTED
4003e89c: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
4003e8a0: 30 bf ff e6 b,a 4003e838 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
rtems_printf (printer,
4003e8a4: 7f ff 6b 40 call 400195a4 <rtems_status_text>
<== NOT EXECUTED
4003e8a8: 01 00 00 00 nop
<== NOT EXECUTED
4003e8ac: 13 10 02 0d sethi %hi(0x40083400), %o1
<== NOT EXECUTED
4003e8b0: 94 10 00 08 mov %o0, %o2
<== NOT EXECUTED
4003e8b4: 92 12 62 40 or %o1, 0x240, %o1
<== NOT EXECUTED
4003e8b8: 7f ff 37 48 call 4000c5d8 <rtems_printf>
<== NOT EXECUTED
4003e8bc: 90 10 00 18 mov %i0, %o0
<== NOT EXECUTED
return;
4003e8c0: 81 c7 e0 08 ret
<== NOT EXECUTED
4003e8c4: 81 e8 00 00 restore
<== NOT EXECUTED
rtems_printf (printer,
4003e8c8: 7f ff 6b 37 call 400195a4 <rtems_status_text>
<== NOT EXECUTED
4003e8cc: 01 00 00 00 nop
<== NOT EXECUTED
4003e8d0: 13 10 02 0d sethi %hi(0x40083400), %o1
<== NOT EXECUTED
4003e8d4: 94 10 00 08 mov %o0, %o2
<== NOT EXECUTED
4003e8d8: 92 12 62 10 or %o1, 0x210, %o1
<== NOT EXECUTED
4003e8dc: 7f ff 37 3f call 4000c5d8 <rtems_printf>
<== NOT EXECUTED
4003e8e0: 90 10 00 18 mov %i0, %o0
<== NOT EXECUTED
return;
4003e8e4: 81 c7 e0 08 ret
<== NOT EXECUTED
4003e8e8: 81 e8 00 00 restore
<== NOT EXECUTED
if (data.sort_order == 0)
4003e8ec: c2 07 bf 84 ld [ %fp + -124 ], %g1
<== NOT EXECUTED
4003e8f0: 80 a0 60 00 cmp %g1, 0
<== NOT EXECUTED
4003e8f4: 12 80 00 0e bne 4003e92c <rtems_cpu_usage_top_with_plugin+0x198>
<== NOT EXECUTED
4003e8f8: 01 00 00 00 nop
<== NOT EXECUTED
data.sort_order = RTEMS_TOP_SORT_MAX;
4003e8fc: f8 27 bf 84 st %i4, [ %fp + -124 ]
<== NOT EXECUTED
rtems_event_send(id, RTEMS_EVENT_1);
4003e900: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
4003e904: 7f ff 6a bd call 400193f8 <rtems_event_send>
<== NOT EXECUTED
4003e908: d0 07 bf 7c ld [ %fp + -132 ], %o0
<== NOT EXECUTED
4003e90c: 30 bf ff cb b,a 4003e838 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
if (data.sort_order >= RTEMS_TOP_SORT_MAX)
4003e910: c2 07 bf 84 ld [ %fp + -124 ], %g1
<== NOT EXECUTED
4003e914: 80 a0 60 03 cmp %g1, 3
<== NOT EXECUTED
4003e918: 08 80 00 2c bleu 4003e9c8 <rtems_cpu_usage_top_with_plugin+0x234>
<== NOT EXECUTED
4003e91c: 01 00 00 00 nop
<== NOT EXECUTED
data.sort_order = 0;
4003e920: c0 27 bf 84 clr [ %fp + -124 ]
<== NOT EXECUTED
4003e924: 10 bf ff f8 b 4003e904 <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
4003e928: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
--data.sort_order;
4003e92c: c2 07 bf 84 ld [ %fp + -124 ], %g1
<== NOT EXECUTED
4003e930: 82 00 7f ff add %g1, -1, %g1
<== NOT EXECUTED
4003e934: c2 27 bf 84 st %g1, [ %fp + -124 ]
<== NOT EXECUTED
rtems_event_send(id, RTEMS_EVENT_1);
4003e938: 10 bf ff f3 b 4003e904 <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
4003e93c: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
rtems_event_send(id, RTEMS_EVENT_1);
4003e940: d0 07 bf 7c ld [ %fp + -132 ], %o0
<== NOT EXECUTED
data.thread_run = false;
4003e944: c0 2f bf 80 clrb [ %fp + -128 ]
<== NOT EXECUTED
rtems_event_send(id, RTEMS_EVENT_1);
4003e948: 7f ff 6a ac call 400193f8 <rtems_event_send>
<== NOT EXECUTED
4003e94c: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
while (loops && data.thread_active)
4003e950: c2 0f bf 81 ldub [ %fp + -127 ], %g1
<== NOT EXECUTED
4003e954: 80 a0 60 00 cmp %g1, 0
<== NOT EXECUTED
4003e958: 02 80 00 0f be 4003e994 <rtems_cpu_usage_top_with_plugin+0x200>
<== NOT EXECUTED
4003e95c: 05 10 01 f1 sethi %hi(0x4007c400), %g2
<== NOT EXECUTED
4003e960: 03 00 00 61 sethi %hi(0x18400), %g1
<== NOT EXECUTED
4003e964: 82 10 62 a0 or %g1, 0x2a0, %g1 ! 186a0 <_Configuration_Interrupt_stack_size+0x176a0>
<== NOT EXECUTED
4003e968: 81 80 20 00 wr %g0, %y
<== NOT EXECUTED
4003e96c: fa 00 a1 f0 ld [ %g2 + 0x1f0 ], %i5
<== NOT EXECUTED
4003e970: 01 00 00 00 nop
<== NOT EXECUTED
4003e974: 01 00 00 00 nop
<== NOT EXECUTED
4003e978: ba 70 40 1d udiv %g1, %i5, %i5
<== NOT EXECUTED
rtems_task_wake_after (RTEMS_MICROSECONDS_TO_TICKS (100000));
4003e97c: 7f ff 6c 40 call 40019a7c <rtems_task_wake_after>
<== NOT EXECUTED
4003e980: 90 10 00 1d mov %i5, %o0
<== NOT EXECUTED
while (loops && data.thread_active)
4003e984: c2 0f bf 81 ldub [ %fp + -127 ], %g1
<== NOT EXECUTED
4003e988: 80 a0 60 00 cmp %g1, 0
<== NOT EXECUTED
4003e98c: 12 bf ff fc bne 4003e97c <rtems_cpu_usage_top_with_plugin+0x1e8>
<== NOT EXECUTED
4003e990: 01 00 00 00 nop
<== NOT EXECUTED
rtems_printf (printer, "load monitoring stopped.\n");
4003e994: 90 10 00 18 mov %i0, %o0
<== NOT EXECUTED
4003e998: 13 10 02 0d sethi %hi(0x40083400), %o1
<== NOT EXECUTED
4003e99c: 7f ff 37 0f call 4000c5d8 <rtems_printf>
<== NOT EXECUTED
4003e9a0: 92 12 62 90 or %o1, 0x290, %o1 ! 40083690 <RTEMS_BDPART_MBR_MASTER_TYPE+0xa38>
<== NOT EXECUTED
}
}
}
4003e9a4: 81 c7 e0 08 ret
<== NOT EXECUTED
4003e9a8: 81 e8 00 00 restore
<== NOT EXECUTED
if (data.show == 0)
4003e9ac: c2 07 bf 8c ld [ %fp + -116 ], %g1
<== NOT EXECUTED
4003e9b0: 80 a0 60 00 cmp %g1, 0
<== NOT EXECUTED
4003e9b4: 12 80 00 12 bne 4003e9fc <rtems_cpu_usage_top_with_plugin+0x268>
<== NOT EXECUTED
4003e9b8: 01 00 00 00 nop
<== NOT EXECUTED
data.show = show_lines;
4003e9bc: fa 27 bf 8c st %i5, [ %fp + -116 ]
<== NOT EXECUTED
4003e9c0: 10 bf ff d1 b 4003e904 <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
4003e9c4: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
++data.sort_order;
4003e9c8: c2 07 bf 84 ld [ %fp + -124 ], %g1
<== NOT EXECUTED
4003e9cc: 82 00 60 01 inc %g1
<== NOT EXECUTED
4003e9d0: c2 27 bf 84 st %g1, [ %fp + -124 ]
<== NOT EXECUTED
rtems_event_send(id, RTEMS_EVENT_1);
4003e9d4: 10 bf ff cc b 4003e904 <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
4003e9d8: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
data.single_page = !data.single_page;
4003e9dc: c2 0f bf 82 ldub [ %fp + -126 ], %g1
<== NOT EXECUTED
4003e9e0: 82 18 60 01 xor %g1, 1, %g1
<== NOT EXECUTED
rtems_event_send(id, RTEMS_EVENT_1);
4003e9e4: d0 07 bf 7c ld [ %fp + -132 ], %o0
<== NOT EXECUTED
4003e9e8: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
data.single_page = !data.single_page;
4003e9ec: c2 2f bf 82 stb %g1, [ %fp + -126 ]
<== NOT EXECUTED
rtems_event_send(id, RTEMS_EVENT_1);
4003e9f0: 7f ff 6a 82 call 400193f8 <rtems_event_send>
<== NOT EXECUTED
4003e9f4: 01 00 00 00 nop
<== NOT EXECUTED
4003e9f8: 30 bf ff 90 b,a 4003e838 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
data.show = 0;
4003e9fc: c0 27 bf 8c clr [ %fp + -116 ]
<== NOT EXECUTED
rtems_event_send(id, RTEMS_EVENT_1);
4003ea00: 10 bf ff c1 b 4003e904 <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
4003ea04: 92 10 20 02 mov 2, %o1
<== NOT EXECUTED
rtems_printf (printer,
4003ea08: 7f ff 6a e7 call 400195a4 <rtems_status_text>
<== NOT EXECUTED
4003ea0c: 01 00 00 00 nop
<== NOT EXECUTED
4003ea10: 13 10 02 0d sethi %hi(0x40083400), %o1
<== NOT EXECUTED
4003ea14: 94 10 00 08 mov %o0, %o2
<== NOT EXECUTED
4003ea18: 92 12 62 68 or %o1, 0x268, %o1
<== NOT EXECUTED
4003ea1c: 7f ff 36 ef call 4000c5d8 <rtems_printf>
<== NOT EXECUTED
4003ea20: 90 10 00 18 mov %i0, %o0
<== NOT EXECUTED
rtems_task_delete (id);
4003ea24: 7f ff 6b 85 call 40019838 <rtems_task_delete>
<== NOT EXECUTED
4003ea28: d0 07 bf 7c ld [ %fp + -132 ], %o0
<== NOT EXECUTED
return;
4003ea2c: 81 c7 e0 08 ret
<== NOT EXECUTED
4003ea30: 81 e8 00 00 restore
<== NOT EXECUTED
if (data.show != 0)
4003ea34: c2 07 bf 8c ld [ %fp + -116 ], %g1
<== NOT EXECUTED
4003ea38: 80 a0 60 00 cmp %g1, 0
<== NOT EXECUTED
4003ea3c: 02 bf ff 7f be 4003e838 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
4003ea40: ba 07 60 01 inc %i5
<== NOT EXECUTED
data.show = show_lines;
4003ea44: fa 27 bf 8c st %i5, [ %fp + -116 ]
<== NOT EXECUTED
4003ea48: 30 bf ff 7c b,a 4003e838 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
if (show_lines > 5)
4003ea4c: 80 a7 60 05 cmp %i5, 5
<== NOT EXECUTED
4003ea50: 34 80 00 02 bg,a 4003ea58 <rtems_cpu_usage_top_with_plugin+0x2c4>
<== NOT EXECUTED
4003ea54: ba 07 7f ff add %i5, -1, %i5
<== NOT EXECUTED
if (data.show != 0)
4003ea58: c2 07 bf 8c ld [ %fp + -116 ], %g1
<== NOT EXECUTED
4003ea5c: 80 a0 60 00 cmp %g1, 0
<== NOT EXECUTED
4003ea60: 32 bf ff 76 bne,a 4003e838 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
4003ea64: fa 27 bf 8c st %i5, [ %fp + -116 ]
<== NOT EXECUTED
4003ea68: 30 bf ff 74 b,a 4003e838 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED