xentop: Dynamically expand some columns
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]>
Signed-off-by Charles Arnold <[email protected]>
tools/xenstat/xentop/Makefile +2 -3
@@ -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