[PATCH 10/16] dept: Add proc knobs to show stats and dependency graph

2022-02-19 Thread Byungchul Park
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

Re: [PATCH 10/16] dept: Add proc knobs to show stats and dependency graph

2022-02-17 Thread Steven Rostedt
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