Changeset b3631bc in mainline
- Timestamp:
- 2010-04-17T01:02:53Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- af7a26b
- Parents:
- 9528be02
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/cmd.c
r9528be02 rb3631bc 66 66 #include <ipc/irq.h> 67 67 #include <ipc/event.h> 68 #include <sysinfo/sysinfo.h> 68 69 #include <symtab.h> 69 70 #include <errno.h> … … 387 388 }; 388 389 390 static int cmd_sysinfo(cmd_arg_t *argv); 391 static cmd_info_t sysinfo_info = { 392 .name = "sysinfo", 393 .description = "Dump sysinfo.", 394 .func = cmd_sysinfo, 395 .argc = 0 396 }; 397 389 398 /* Data and methods for 'zones' command */ 390 399 static int cmd_zones(cmd_arg_t *argv); … … 475 484 &set4_info, 476 485 &slabs_info, 486 &sysinfo_info, 477 487 &symaddr_info, 478 488 &sched_info, … … 868 878 } 869 879 880 /** Command for dumping sysinfo 881 * 882 * @param argv Ignores 883 * 884 * @return Always 1 885 */ 886 int cmd_sysinfo(cmd_arg_t * argv) 887 { 888 sysinfo_dump(NULL, 0); 889 return 1; 890 } 891 870 892 871 893 /** Command for listings Thread information
Note:
See TracChangeset
for help on using the changeset viewer.