HelenOS sources

sysinfo_set_subtree_fn  158 kernel/generic/include/sysinfo/sysinfo.h extern void sysinfo_set_subtree_fn(const char *, sysinfo_item_t **,
sysinfo_set_subtree_fn  857 kernel/generic/src/sysinfo/stats.c 	sysinfo_set_subtree_fn("system.tasks", NULL, get_stats_task, NULL);
sysinfo_set_subtree_fn  858 kernel/generic/src/sysinfo/stats.c 	sysinfo_set_subtree_fn("system.threads", NULL, get_stats_thread, NULL);
sysinfo_set_subtree_fn  859 kernel/generic/src/sysinfo/stats.c 	sysinfo_set_subtree_fn("system.exceptions", NULL, get_stats_exception, NULL);
HelenOS homepage, sources at GitHub