From 61b3e53604baeed92422409b062bc1376019977d Mon Sep 17 00:00:00 2001 From: Boian Bonev Date: Tue, 18 Oct 2022 01:52:33 +0530 Subject: [PATCH] Revert "Start collecting syscall count data" This reverts commit 0a5cd3aa8205394d5b368740ff8b8c61696765bc. --- src/iotop.h | 2 -- src/xxxid_info.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/iotop.h b/src/iotop.h index 8717a75..6af737a 100644 --- a/src/iotop.h +++ b/src/iotop.h @@ -98,8 +98,6 @@ struct xxxid_stats { uint64_t blkio_delay_total; // nanoseconds uint64_t read_bytes; uint64_t write_bytes; - uint64_t read_syscalls; - uint64_t write_syscalls; double blkio_val; double swapin_val; diff --git a/src/xxxid_info.c b/src/xxxid_info.c index f536dfe..b160be2 100644 --- a/src/xxxid_info.c +++ b/src/xxxid_info.c @@ -190,8 +190,6 @@ inline int nl_xxxid_info(pid_t tid,pid_t pid,struct xxxid_stats *stats) { #define COPY(field) { stats->field = ts->field; } COPY(read_bytes); COPY(write_bytes); - COPY(read_syscalls); - COPY(write_syscalls); COPY(swapin_delay_total); COPY(blkio_delay_total); #undef COPY