Skip to content

Commit

Permalink
Merge pull request #44 from bbonev/master
Browse files Browse the repository at this point in the history
Revert syscall count stuff
  • Loading branch information
bbonev authored Oct 17, 2022
2 parents e3ef022 + 61b3e53 commit ca3d50d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/iotop.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions src/xxxid_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit ca3d50d

Please sign in to comment.