Revert "Revert "Code clean up and add example""

This reverts commit ea08151ae6.
This commit is contained in:
James Dominic P. Guana
2021-04-10 18:20:21 +08:00
committed by Robert Roth
parent 48595809ed
commit 2ec1815e6c
21 changed files with 238 additions and 20 deletions

View File

@@ -139,6 +139,9 @@ const _glibtop_init_func_t _glibtop_init_hook_p [] = {
#if GLIBTOP_SUID_CPU
_glibtop_init_cpu_p,
#endif
#if GLIBTOP_SUID_DISK
_glibtop_init_disk_p,
#endif
#if GLIBTOP_SUID_MEM
_glibtop_init_mem_p,
#endif