[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Rename two xentrace tools to make it obvious that setmask and setsize are xen related.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 4704cd92242e7a7f25f4b88d7a4eaae8d070317a
# Parent  ff124973a28ae61bac91e68e55efa7c52d75802d
Rename two xentrace tools to make it obvious that setmask and setsize are xen 
related.

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

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 .hgignore               |    4 ++--
 tools/xenmon/Makefile   |   10 +++++-----
 tools/xentrace/Makefile |    4 +++-
 3 files changed, 10 insertions(+), 8 deletions(-)

diff -r ff124973a28a -r 4704cd92242e .hgignore
--- a/.hgignore Wed Aug 16 12:59:30 2006 +0100
+++ b/.hgignore Wed Aug 16 13:53:10 2006 +0100
@@ -151,7 +151,7 @@
 ^tools/vtpm_manager/manager/vtpm_managerd$
 ^tools/xcutils/xc_restore$
 ^tools/xcutils/xc_save$
-^tools/xenmon/setmask$
+^tools/xenmon/xentrace_setmask$
 ^tools/xenmon/xenbaked$
 ^tools/xenstat/xentop/xentop$
 ^tools/xenstore/testsuite/tmp/.*$
@@ -172,7 +172,7 @@
 ^tools/xenstore/xs_tdb_dump$
 ^tools/xenstore/xs_test$
 ^tools/xenstore/xs_watch_stress$
-^tools/xentrace/setsize$
+^tools/xentrace/xentrace_setsize$
 ^tools/xentrace/tbctl$
 ^tools/xentrace/xenctx$
 ^tools/xentrace/xentrace$
diff -r ff124973a28a -r 4704cd92242e tools/xenmon/Makefile
--- a/tools/xenmon/Makefile     Wed Aug 16 12:59:30 2006 +0100
+++ b/tools/xenmon/Makefile     Wed Aug 16 13:53:10 2006 +0100
@@ -25,7 +25,7 @@ CFLAGS  += -I $(XEN_LIBXC)
 CFLAGS  += -I $(XEN_LIBXC)
 LDFLAGS += -L $(XEN_LIBXC)
 
-BIN = setmask xenbaked
+BIN = xentrace_setmask xenbaked
 SCRIPTS = xenmon.py
 
 .PHONY: all
@@ -35,10 +35,10 @@ build: $(BIN)
 build: $(BIN)
 
 .PHONY: install
-install: xenbaked setmask
+install: build
        [ -d $(DESTDIR)$(sbindir) ] || $(INSTALL_DIR) $(DESTDIR)$(sbindir)
        $(INSTALL_PROG) xenbaked $(DESTDIR)$(sbindir)/xenbaked
-       $(INSTALL_PROG) setmask  $(DESTDIR)$(sbindir)/setmask
+       $(INSTALL_PROG) xentrace_setmask  $(DESTDIR)$(sbindir)/xentrace_setmask
        $(INSTALL_PROG) xenmon.py  $(DESTDIR)$(sbindir)/xenmon.py
 
 .PHONY: clean
@@ -48,5 +48,5 @@ clean:
 
 %: %.c Makefile
        $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
-
-
+xentrace_%: %.c Makefile
+       $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
diff -r ff124973a28a -r 4704cd92242e tools/xentrace/Makefile
--- a/tools/xentrace/Makefile   Wed Aug 16 12:59:30 2006 +0100
+++ b/tools/xentrace/Makefile   Wed Aug 16 13:53:10 2006 +0100
@@ -14,7 +14,7 @@ HDRS     = $(wildcard *.h)
 HDRS     = $(wildcard *.h)
 OBJS     = $(patsubst %.c,%.o,$(wildcard *.c))
 
-BIN      = xentrace setsize
+BIN      = xentrace xentrace_setsize
 LIBBIN   = 
 SCRIPTS  = xentrace_format
 MAN1     = $(wildcard *.1)
@@ -58,3 +58,5 @@ clean:
 
 %: %.c $(HDRS) Makefile
        $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl
+xentrace_%: %.c $(HDRS) Makefile
+       $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.