It'd be useful to show Dept internal stats and dependency graph on
runtime via proc for better information. Introduced the knobs.
Signed-off-by: Byungchul Park
---
kernel/dependency/Makefile| 1 +
kernel/dependency/dept.c | 24 --
kernel/dependency/dept_internal.h | 26
On Thu, 17 Feb 2022 19:57:46 +0900
Byungchul Park wrote:
> +static int __init dept_proc_init(void)
> +{
> + proc_create_seq("dept_deps", S_IRUSR, NULL, &dept_deps_ops);
> + proc_create_single("dept_stats", S_IRUSR, NULL, dept_stats_show);
> + return 0;
> +}
> +
> +__initcall(dept_proc