Changeset 8a64e81e in mainline for kernel/generic/src/console/cmd.c
- Timestamp:
- 2012-07-06T13:31:02Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d56712
- Parents:
- 518dd43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/cmd.c
r518dd43 r8a64e81e 68 68 #include <sysinfo/sysinfo.h> 69 69 #include <symtab.h> 70 #include <synch/workqueue.h> 70 71 #include <errno.h> 71 72 … … 447 448 .argc = 1, 448 449 .argv = &zone_argv 450 }; 451 452 /* Data and methods for the 'workq' command */ 453 static int cmd_workq(cmd_arg_t *argv); 454 static cmd_info_t workq_info = { 455 .name = "workq", 456 .description = "Show global workq information.", 457 .func = cmd_workq, 458 .argc = 0 449 459 }; 450 460 … … 522 532 &uptime_info, 523 533 &version_info, 534 &workq_info, 524 535 &zones_info, 525 536 &zone_info, … … 1015 1026 } 1016 1027 1028 /** Prints information about the global work queue. 1029 * 1030 * @param argv Ignores 1031 * 1032 * @return Always 1 1033 */ 1034 int cmd_workq(cmd_arg_t *argv) 1035 { 1036 workq_global_print_info(); 1037 return 1; 1038 } 1039 1040 1017 1041 /** Command for listing memory zones 1018 1042 *
Note:
See TracChangeset
for help on using the changeset viewer.