direct-io.hg

changeset 11140:4704cd92242e

Rename two xentrace tools to make it obvious that setmask and setsize are xen related.

Based on a patch from Rob Gardner <rob.gardner@hp.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Aug 16 13:53:10 2006 +0100 (2006-08-16)
parents ff124973a28a
children 30fb6ea3a1f7
files .hgignore tools/xenmon/Makefile tools/xentrace/Makefile
line diff
     1.1 --- a/.hgignore	Wed Aug 16 12:59:30 2006 +0100
     1.2 +++ b/.hgignore	Wed Aug 16 13:53:10 2006 +0100
     1.3 @@ -151,7 +151,7 @@
     1.4  ^tools/vtpm_manager/manager/vtpm_managerd$
     1.5  ^tools/xcutils/xc_restore$
     1.6  ^tools/xcutils/xc_save$
     1.7 -^tools/xenmon/setmask$
     1.8 +^tools/xenmon/xentrace_setmask$
     1.9  ^tools/xenmon/xenbaked$
    1.10  ^tools/xenstat/xentop/xentop$
    1.11  ^tools/xenstore/testsuite/tmp/.*$
    1.12 @@ -172,7 +172,7 @@
    1.13  ^tools/xenstore/xs_tdb_dump$
    1.14  ^tools/xenstore/xs_test$
    1.15  ^tools/xenstore/xs_watch_stress$
    1.16 -^tools/xentrace/setsize$
    1.17 +^tools/xentrace/xentrace_setsize$
    1.18  ^tools/xentrace/tbctl$
    1.19  ^tools/xentrace/xenctx$
    1.20  ^tools/xentrace/xentrace$
     2.1 --- a/tools/xenmon/Makefile	Wed Aug 16 12:59:30 2006 +0100
     2.2 +++ b/tools/xenmon/Makefile	Wed Aug 16 13:53:10 2006 +0100
     2.3 @@ -25,7 +25,7 @@ CFLAGS  += -I $(XEN_XC)
     2.4  CFLAGS  += -I $(XEN_LIBXC)
     2.5  LDFLAGS += -L $(XEN_LIBXC)
     2.6  
     2.7 -BIN = setmask xenbaked
     2.8 +BIN = xentrace_setmask xenbaked
     2.9  SCRIPTS = xenmon.py
    2.10  
    2.11  .PHONY: all
    2.12 @@ -35,10 +35,10 @@ all: build
    2.13  build: $(BIN)
    2.14  
    2.15  .PHONY: install
    2.16 -install: xenbaked setmask
    2.17 +install: build
    2.18  	[ -d $(DESTDIR)$(sbindir) ] || $(INSTALL_DIR) $(DESTDIR)$(sbindir)
    2.19  	$(INSTALL_PROG) xenbaked $(DESTDIR)$(sbindir)/xenbaked
    2.20 -	$(INSTALL_PROG) setmask  $(DESTDIR)$(sbindir)/setmask
    2.21 +	$(INSTALL_PROG) xentrace_setmask  $(DESTDIR)$(sbindir)/xentrace_setmask
    2.22  	$(INSTALL_PROG) xenmon.py  $(DESTDIR)$(sbindir)/xenmon.py
    2.23  
    2.24  .PHONY: clean
    2.25 @@ -48,5 +48,5 @@ clean:
    2.26  
    2.27  %: %.c Makefile
    2.28  	$(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
    2.29 -
    2.30 -
    2.31 +xentrace_%: %.c Makefile
    2.32 +	$(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
     3.1 --- a/tools/xentrace/Makefile	Wed Aug 16 12:59:30 2006 +0100
     3.2 +++ b/tools/xentrace/Makefile	Wed Aug 16 13:53:10 2006 +0100
     3.3 @@ -14,7 +14,7 @@ CFLAGS  += -I $(XEN_LIBXC)
     3.4  HDRS     = $(wildcard *.h)
     3.5  OBJS     = $(patsubst %.c,%.o,$(wildcard *.c))
     3.6  
     3.7 -BIN      = xentrace setsize
     3.8 +BIN      = xentrace xentrace_setsize
     3.9  LIBBIN   = 
    3.10  SCRIPTS  = xentrace_format
    3.11  MAN1     = $(wildcard *.1)
    3.12 @@ -58,3 +58,5 @@ clean:
    3.13  
    3.14  %: %.c $(HDRS) Makefile
    3.15  	$(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl
    3.16 +xentrace_%: %.c $(HDRS) Makefile
    3.17 +	$(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl