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 687810c..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 @@ -281,8 +279,6 @@ static void pid_cb(pid_t pid,pid_t tid,struct xxxid_stats_arr *a,filter_callback p->blkio_delay_total+=s->blkio_delay_total; p->read_bytes+=s->read_bytes; p->write_bytes+=s->write_bytes; - p->read_syscalls+=s->read_syscalls; - p->write_syscalls+=s->write_syscalls; } } }