tools: split libxenstat into new tools/libs/stat directory
authorJuergen Gross <jgross@suse.com>
Fri, 28 Aug 2020 15:07:38 +0000 (17:07 +0200)
committerWei Liu <wl@xen.org>
Wed, 9 Sep 2020 10:57:25 +0000 (10:57 +0000)
commit6d0ec0539077943af6d02be2adc79766c7950132
tree8817947f5b80dd497e709010281266dbdb099709
parent8ab2429f1221ebae9fc8e72d8af205f3db93cde2
tools: split libxenstat into new tools/libs/stat directory

There is no reason why libxenstat is not placed in the tools/libs
directory.

At the same time move xenstat.h to a dedicated include directory
in tools/libs/stat in order to follow the same pattern as the other
libraries in tools/libs.

As now xentop is the only left directory in xenstat move it directly
under tools and get rid of tools/xenstat.

Fix some missing prototype errors (add one prototype and make two
functions static).

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wl@xen.org>
38 files changed:
.gitignore
tools/Makefile
tools/Rules.mk
tools/libs/Makefile
tools/libs/stat/COPYING [new file with mode: 0644]
tools/libs/stat/Makefile [new file with mode: 0644]
tools/libs/stat/bindings/swig/perl/.empty [new file with mode: 0644]
tools/libs/stat/bindings/swig/python/.empty [new file with mode: 0644]
tools/libs/stat/bindings/swig/xenstat.i [new file with mode: 0644]
tools/libs/stat/include/xenstat.h [new file with mode: 0644]
tools/libs/stat/xenstat.c [new file with mode: 0644]
tools/libs/stat/xenstat_freebsd.c [new file with mode: 0644]
tools/libs/stat/xenstat_linux.c [new file with mode: 0644]
tools/libs/stat/xenstat_netbsd.c [new file with mode: 0644]
tools/libs/stat/xenstat_priv.h [new file with mode: 0644]
tools/libs/stat/xenstat_qmp.c [new file with mode: 0644]
tools/libs/stat/xenstat_solaris.c [new file with mode: 0644]
tools/libs/uselibs.mk
tools/xenstat/Makefile [deleted file]
tools/xenstat/libxenstat/COPYING [deleted file]
tools/xenstat/libxenstat/Makefile [deleted file]
tools/xenstat/libxenstat/bindings/swig/perl/.empty [deleted file]
tools/xenstat/libxenstat/bindings/swig/python/.empty [deleted file]
tools/xenstat/libxenstat/bindings/swig/xenstat.i [deleted file]
tools/xenstat/libxenstat/src/xenstat.c [deleted file]
tools/xenstat/libxenstat/src/xenstat.h [deleted file]
tools/xenstat/libxenstat/src/xenstat_freebsd.c [deleted file]
tools/xenstat/libxenstat/src/xenstat_linux.c [deleted file]
tools/xenstat/libxenstat/src/xenstat_netbsd.c [deleted file]
tools/xenstat/libxenstat/src/xenstat_priv.h [deleted file]
tools/xenstat/libxenstat/src/xenstat_qmp.c [deleted file]
tools/xenstat/libxenstat/src/xenstat_solaris.c [deleted file]
tools/xenstat/xentop/Makefile [deleted file]
tools/xenstat/xentop/TODO [deleted file]
tools/xenstat/xentop/xentop.c [deleted file]
tools/xentop/Makefile [new file with mode: 0644]
tools/xentop/TODO [new file with mode: 0644]
tools/xentop/xentop.c [new file with mode: 0644]