Skip to content

Commit

Permalink
Update mem_watcher.c
Browse files Browse the repository at this point in the history
  • Loading branch information
syxl-time authored Nov 27, 2024
1 parent 6c3d179 commit 4efc0e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eBPF_Supermarket/Memory_Subsystem/mem_watcher/mem_watcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ static int process_sysstat(struct sysstat_bpf *skel_sysstat)
}
else
{
printf("%-8s %-8s %-8s %-8s %-8s %-8s %-8s %-8s\n", "TIME", "PID", "CPU", "MEM", "READ", "WRITE", "IOWAIT", "SWAP");
printf("%-8s %-8s %-8s %-8s %-8s %-8s %-8s %-8s %-8s %-8s %-8s %-8s\n", "ACTIVE", "INACTVE", "ANON_ACT", "ANON_INA", "FILE_ACT", "FILE_INA", "UNEVICT", "DIRTY", "WRITEBK", "ANONPAG", "MAP", "SHMEM");
}
POLL_RING_BUFFER(rb, 1000, err);

Expand Down Expand Up @@ -1705,4 +1705,4 @@ static int process_drsnoop(struct drsnoop_bpf *skel_drsnoop) {
drsnoop_bpf__destroy(skel_drsnoop);

return err < 0 ? -err : 0;
}
}

0 comments on commit 4efc0e9

Please sign in to comment.