mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
xentrace_format was always of limited utility, since trace records across pcpus were processed out of order; it was superseded by xenalyze over a decade ago. But for several releases, the `formats` file it has depended on for proper operation has not even been included in `make install` (which generally means it doesn't get picked up by distros either); yet nobody has seemed to complain. Simple remove xentrace_format, and point people to xenalyze instead. NB that there is no man page for xenalyze, so the "see also" on the xentrace man page is simply removed for now. Signed-off-by: George Dunlap <george.dunlap@cloud.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Olaf Hering <olaf@aepfle.de>
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
XEN_ROOT=$(CURDIR)/../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
CFLAGS += $(CFLAGS_libxenevtchn)
|
|
CFLAGS += $(CFLAGS_libxenctrl)
|
|
LDLIBS += $(LDLIBS_libxenevtchn)
|
|
LDLIBS += $(LDLIBS_libxenctrl)
|
|
LDLIBS += $(ARGP_LDFLAGS)
|
|
|
|
BIN := xenalyze
|
|
SBIN := xentrace xentrace_setsize
|
|
LIBBIN := xenctx
|
|
|
|
TARGETS := $(BIN) $(SBIN) $(LIBBIN)
|
|
|
|
.PHONY: all
|
|
all: $(TARGETS)
|
|
|
|
.PHONY: install
|
|
install: all
|
|
$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
|
$(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
|
$(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN)
|
|
$(INSTALL_PROG) $(BIN) $(DESTDIR)$(bindir)
|
|
$(INSTALL_PROG) $(SBIN) $(DESTDIR)$(sbindir)
|
|
$(INSTALL_PROG) $(LIBBIN) $(DESTDIR)$(LIBEXEC_BIN)
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
rm -f $(addprefix $(DESTDIR)$(LIBEXEC_BIN)/, $(LIBBIN))
|
|
rm -f $(addprefix $(DESTDIR)$(sbindir)/, $(SBIN))
|
|
rm -f $(addprefix $(DESTDIR)$(bindir)/, $(BIN))
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) *.o $(TARGETS) $(DEPS_RM)
|
|
|
|
.PHONY: distclean
|
|
distclean: clean
|
|
|
|
xentrace: xentrace.o
|
|
$(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS)
|
|
|
|
xenctx: xenctx.o
|
|
$(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS)
|
|
|
|
xentrace_setsize: setsize.o
|
|
$(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS)
|
|
|
|
xenalyze: xenalyze.o mread.o
|
|
$(CC) $(LDFLAGS) -o $@ $^ $(ARGP_LDFLAGS) $(APPEND_LDFLAGS)
|
|
|
|
-include $(DEPS_INCLUDE)
|
|
|