19#define PROCESS_HASHTABLE_SIZE 512
20#define THREAD_HASHTABLE_SIZE 512
31 pr_info(
"process %pp ", (
void *) proc);
MOSAPI int __pure hashmap_simple_key_compare(uintn key1, uintn key2)
MOSAPI hash_t __pure hashmap_identity_hash(uintn key)
MOSAPI void hashmap_init(hashmap_t *map, size_t capacity, hashmap_hash_t hash_func, hashmap_key_compare_t compare_func)
MOSAPI void hashmap_foreach(hashmap_t *map, hashmap_foreach_func_t func, void *data)
#define MOS_PANIC_HOOK(_f, _name)
#define pr_info2(fmt,...)
void process_dump_mmaps(const process_t *process)
char thread_state_str(thread_state_t state)
#define SLAB_AUTOINIT(name, var, type)
u32 exit_status
exit status
thread_mode mode
user-mode thread or kernel-mode
downwards_stack_t u_stack
user-mode stack
thread_state_t state
thread state
ssize_t sysfs_printf(sysfs_file_t *file, const char *fmt,...)
#define SYSFS_RO_ITEM(_name, _show_fn)
#define SYSFS_AUTOREGISTER(sysfs_name, sysfs_items)
bool _process_do_print(uintn key, void *val, void *data)
#define PROCESS_HASHTABLE_SIZE
#define THREAD_HASHTABLE_SIZE
static sysfs_item_t task_sysfs_items[]
bool _thread_do_print(uintn key, void *val, void *data)
static bool tasks_sysfs_process_list(sysfs_file_t *f)
static void dump_process(void)
static bool tasks_sysfs_thread_list(sysfs_file_t *f)