Skip to contentSkip to conversation

xentop: Dynamically expand some columns

PATCH Superseded Charles Arnold 1 participant 1 message Oct 2, 2014

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 xentop: Dynamically expand some columns

Allow certain xentop columns to automatically expand as the amount of data reported gets larger. The columns allowed to expand are:

NETTX(k), NETRX(k), VBD_RD, VBD_WR, VBD_RSECT, VBD_WSECT

Author: Markus Hauschild <[email protected]>

tools/xenstat/xentop/Makefile +2 -3
index 18bccb6..1797d84 100644
@@ -18,13 +18,12 @@ ifneq ($(XENSTAT_XENTOP),y)
 all install xentop:
 else
 
-CFLAGS += -DGCC_PRINTF -Werror $(CFLAGS_libxenstat)
-LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS)
+CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat)
+LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS) -lm
 CFLAGS += -DHOST_$(XEN_OS)
 
 # Include configure output (config.h) to headers search path
 CFLAGS += -I$(XEN_ROOT)/tools
-LDFLAGS += $(APPEND_LDFLAGS)
 
 .PHONY: all
 all: xentop
tools/xenstat/xentop/xentop.c +57 -7

124 lines not on this page · raw message