Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/cmd.c

    r181a746 r6eef3c4  
    6868#include <sysinfo/sysinfo.h>
    6969#include <symtab.h>
    70 #include <synch/workqueue.h>
    71 #include <synch/rcu.h>
    7270#include <errno.h>
    7371
     
    451449};
    452450
    453 /* Data and methods for the 'workq' command */
    454 static int cmd_workq(cmd_arg_t *argv);
    455 static cmd_info_t workq_info = {
    456         .name = "workq",
    457         .description = "Show global workq information.",
    458         .func = cmd_workq,
    459         .argc = 0
    460 };
    461 
    462 /* Data and methods for the 'workq' command */
    463 static int cmd_rcu(cmd_arg_t *argv);
    464 static cmd_info_t rcu_info = {
    465         .name = "rcu",
    466         .description = "Show RCU run-time statistics.",
    467         .func = cmd_rcu,
    468         .argc = 0
    469 };
    470 
    471451/* Data and methods for 'ipc' command */
    472452static int cmd_ipc(cmd_arg_t *argv);
     
    532512        &physmem_info,
    533513        &reboot_info,
    534         &rcu_info,
    535514        &sched_info,
    536515        &set4_info,
     
    543522        &uptime_info,
    544523        &version_info,
    545         &workq_info,
    546524        &zones_info,
    547525        &zone_info,
     
    10371015}
    10381016
    1039 /** Prints information about the global work queue.
    1040  *
    1041  * @param argv Ignores
    1042  *
    1043  * @return Always 1
    1044  */
    1045 int cmd_workq(cmd_arg_t *argv)
    1046 {
    1047         workq_global_print_info();
    1048         return 1;
    1049 }
    1050 
    1051 /** Prints RCU statistics.
    1052  *
    1053  * @param argv Ignores
    1054  *
    1055  * @return Always 1
    1056  */
    1057 int cmd_rcu(cmd_arg_t *argv)
    1058 {
    1059         rcu_print_stat();
    1060         return 1;
    1061 }
    1062 
    10631017/** Command for listing memory zones
    10641018 *
Note: See TracChangeset for help on using the changeset viewer.