add_debugger_command_etc
extern status_t add_debugger_command_etc(const char* name,
err = add_debugger_command_etc("dis", disasm_command,
add_debugger_command_etc("on_exit", &add_run_on_exit_command,
add_debugger_command_etc("net_buffer_stats", &dump_net_buffer_stats,
add_debugger_command_etc("net_buffer", &dump_net_buffer,
add_debugger_command_etc("in_context", &cmd_in_context,
add_debugger_command_etc("in_context", &cmd_in_context,
add_debugger_command_etc("breakpoints", &debugger_breakpoints,
add_debugger_command_etc("breakpoint", &debugger_breakpoint,
add_debugger_command_etc("watchpoint", &debugger_watchpoint,
add_debugger_command_etc("step", &debugger_single_step,
add_debugger_command_etc("memory_type_ranges", &dump_memory_type_ranges,
add_debugger_command_etc("block_caches", &dump_caches,
add_debugger_command_etc("block_cache", &dump_cache,
add_debugger_command_etc("transaction", &dump_transaction,
add_debugger_command_etc("block_cache_data", &dump_block_data,
add_debugger_command_etc("file_map", &dump_file_map,
add_debugger_command_etc("cvar", &dump_condition_variable,
add_debugger_command_etc("cvars", &list_condition_variables,
add_debugger_command_etc("syslog", &cmd_dump_syslog,
add_debugger_command_etc("cpu", &cmd_switch_cpu,
add_debugger_command_etc("message", &cmd_dump_kdl_message,
add_debugger_command_etc("panic_commands", &cmd_execute_panic_commands,
add_debugger_command_etc("help", &cmd_help, "List all debugger commands",
add_debugger_command_etc("reboot", &cmd_reboot, "Reboot the system",
add_debugger_command_etc("shutdown", &cmd_shutdown, "Shut down the system",
add_debugger_command_etc("gdb", &cmd_gdb, "Connect to remote gdb",
add_debugger_command_etc("continue", &cmd_continue, "Leave kernel debugger",
add_debugger_command_etc("expr", &cmd_expr,
add_debugger_command_etc("error", &cmd_error,
add_debugger_command_etc("faults", &cmd_faults, "Toggles fault handling "
add_debugger_command_etc("head", &cmd_head,
add_debugger_command_etc("tail", &cmd_tail,
add_debugger_command_etc("grep", &cmd_grep,
add_debugger_command_etc("wc", &cmd_wc,
return add_debugger_command_etc(newName, command->func,
return add_debugger_command_etc(name, func, desc, NULL, 0);
add_debugger_command_etc("guarded_heap_chunk", &dump_guarded_heap_chunk,
add_debugger_command_etc("allocations", &dump_guarded_heap_allocations,
add_debugger_command_etc("heap", &dump_heap_list,
add_debugger_command_etc("allocations", &dump_allocations,
add_debugger_command_etc("allocations", &dump_allocations,
add_debugger_command_etc("allocations_per_caller",
add_debugger_command_etc("heap", &dump_heap_list,
add_debugger_command_etc("heap_allocations", &dump_allocations,
add_debugger_command_etc("traced", &dump_tracing_command,
add_debugger_command_etc("io_scheduler_roster", &dump_io_scheduler_roster,
add_debugger_command_etc("io_scheduler", &dump_io_scheduler,
add_debugger_command_etc("io_request_owner", &dump_io_request_owner,
add_debugger_command_etc("devfs_node", &dump_node,
add_debugger_command_etc("devfs_cookie", &dump_cookie,
add_debugger_command_etc("image", &dump_image, "dump image info",
add_debugger_command_etc("fifo", &Inode::Dump,
add_debugger_command_etc("vnode", &dump_vnode,
add_debugger_command_etc("mutex", &dump_mutex_info,
add_debugger_command_etc("rwlock", &dump_rw_lock_info,
add_debugger_command_etc("recursivelock", &dump_recursive_lock_info,
add_debugger_command_etc("user_mutex", &dump_user_mutex,
add_debugger_command_etc("ports", &dump_port_list,
add_debugger_command_etc("port", &dump_port_info,
add_debugger_command_etc("scheduler", &cmd_scheduler,
add_debugger_command_etc("run_queue", &dump_run_queue,
add_debugger_command_etc("cpu_heap", &dump_cpu_heap,
add_debugger_command_etc("idle_cores", &dump_idle_cores,
add_debugger_command_etc("scheduler_profiler", &dump_profiler,
add_debugger_command_etc("sems", &dump_sem_list,
add_debugger_command_etc("sem", &dump_sem_info,
add_debugger_command_etc("slab_area", &_DumpArea,
add_debugger_command_etc("slab_areas", &_DumpAreas,
add_debugger_command_etc("slab_meta_chunk", &_DumpMetaChunk,
add_debugger_command_etc("slab_meta_chunks", &_DumpMetaChunks,
add_debugger_command_etc("slab_raw_allocations", &_DumpRawAllocations,
add_debugger_command_etc("allocations_per_caller",
add_debugger_command_etc("allocation_infos",
add_debugger_command_etc("spinlock", &dump_spinlock,
add_debugger_command_etc("ici", &dump_ici_messages,
add_debugger_command_etc("ici_message", &dump_ici_message,
add_debugger_command_etc("straced", &dump_syscall_tracing,
add_debugger_command_etc("team", &dump_team_info,
add_debugger_command_etc("teams", &dump_teams, "List all teams",
add_debugger_command_etc("threads", &dump_thread_list, "List all threads",
add_debugger_command_etc("ready", &dump_thread_list,
add_debugger_command_etc("running", &dump_thread_list,
add_debugger_command_etc("waiting", &dump_thread_list,
add_debugger_command_etc("realtime", &dump_thread_list,
add_debugger_command_etc("thread", &dump_thread_info,
add_debugger_command_etc("calling", &dump_thread_list,
add_debugger_command_etc("unreal", &make_thread_unreal,
add_debugger_command_etc("suspend", &make_thread_suspended,
add_debugger_command_etc("resume", &make_thread_resumed, "Resume a thread",
add_debugger_command_etc("drop", &drop_into_debugger,
add_debugger_command_etc("priority", &set_thread_prio,
add_debugger_command_etc("timers", &dump_timers, "List all timers",
add_debugger_command_etc("swap", &dump_swap_info,
add_debugger_command_etc("cache_stack", &command_cache_stack,
add_debugger_command_etc("caches", &dump_caches,
add_debugger_command_etc("mapping", &dump_mapping_info,
add_debugger_command_etc("page", &dump_page_long,
add_debugger_command_etc("page_usage", &dump_page_usage_stats,
add_debugger_command_etc("page_allocations_per_caller",
add_debugger_command_etc("page_allocation_infos",