Changeset 8eec3c8 in mainline for uspace/app/top/top.c
- Timestamp:
- 2010-06-10T14:24:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c0f13d2
- Parents:
- 1113c9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/top/top.c
r1113c9e r8eec3c8 115 115 return "Cannot get threads"; 116 116 117 target->exceptions = stats_get_exceptions(&(target->exceptions_count)); 118 if (target->exceptions == NULL) 119 return "Cannot get exceptions"; 120 117 121 /* Get physical memory */ 118 122 target->physmem = stats_get_physmem(); … … 231 235 if (target->threads != NULL) 232 236 free(target->threads); 237 238 if (target->exceptions != NULL) 239 free(target->exceptions); 233 240 234 241 if (target->physmem != NULL) … … 285 292 operation_type = OP_TASKS; 286 293 break; 294 case 'e': 295 print_warning("Showing exception statistics"); 296 operation_type = OP_EXC; 297 break; 287 298 default: 288 299 print_warning("Unknown command: %c", c);
Note:
See TracChangeset
for help on using the changeset viewer.