Skip to content

Commit

Permalink
FreeBSD: don't use v_cache_min/max (hyperic#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Baugh committed Apr 10, 2018
1 parent ad47dc3 commit 800076d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/os/darwin/darwin_sigar.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@ static int sigar_vmstat(sigar_t *sigar, struct vmmeter *vmstat)
GET_VM_STATS(vm, v_inactive_target, 0);
GET_VM_STATS(vm, v_inactive_count, 1);
GET_VM_STATS(vm, v_cache_count, 1);
GET_VM_STATS(vm, v_cache_min, 0);
GET_VM_STATS(vm, v_cache_max, 0);
#if (__FreeBSD_version < 1100079)
GET_VM_STATS(vm, v_cache_min, 0);
GET_VM_STATS(vm, v_cache_max, 0);
#endif
GET_VM_STATS(vm, v_pageout_free_min, 0);
GET_VM_STATS(vm, v_interrupt_free_min, 0);
GET_VM_STATS(vm, v_forks, 0);
Expand Down

0 comments on commit 800076d

Please sign in to comment.