Revert "New API to retrieve disk stats in Linux"

This reverts commit 9e62440b31.
This commit is contained in:
Michael Catanzaro
2020-11-06 09:52:01 -06:00
parent 30bf8d0418
commit 7e214414bf
18 changed files with 3 additions and 272 deletions

View File

@@ -97,10 +97,6 @@ handle_parent_connection (int s)
glibtop_get_cpu_l (server, &resp->u.data.cpu);
do_output (s, resp, _offset_data (cpu), 0, NULL);
break;
case GLIBTOP_CMND_DISK:
glibtop_get_disk_l (server, &resp->u.disk.cpu);
do_output (s, resp, _offset_data (disk), 0, NULL);
break;
case GLIBTOP_CMND_MEM:
glibtop_get_mem_l (server, &resp->u.data.mem);
do_output (s, resp, _offset_data (mem), 0, NULL);