diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-21 16:47:14 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-10 23:30:09 +0200 |
commit | 75ec1eeaf6a3f08a01471821c9445b9334ff3bd5 (patch) | |
tree | 4214c6bf89ffdcdc7c0a8718aec716d7d8b3d73e /ext2fs | |
parent | 8cb0a73e3a827ea6bba1bb86cfbd0bdbea0edba0 (diff) |
libports: implement the Hurd server introspection protocol
Add a compact and self-contained introspection server to libports.
Add functions to to label port buckets and classes. Make it possible
to provide a function that given an object of a class, returns a
human-readable representation for it.
* libports/introspection.c: New file.
* libports/create-bucket.c (ports_label_bucket): New function.
* libports/create-class.c (ports_set_debug_info): Likewise.
* libports/manage-multithread.c (internal_demuxer): Trace messages if
desired.
* libports/manage-one-thread.c (internal_demuxer): Likewise.
* libports/ports.h (struct port_bucket): Add label.
(struct port_class): Add debug_info and label.
(ports_label_bucket): New declaration.
(ports_set_debug_info): Likewise.
* libports/Makefile (SRCS): Add introspection.c.
(OBJS): Add hurd_portServer.o.
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext2fs/Makefile b/ext2fs/Makefile index 8d2e68c7..9d72fda5 100644 --- a/ext2fs/Makefile +++ b/ext2fs/Makefile @@ -23,7 +23,8 @@ target = ext2fs SRCS = balloc.c dir.c ext2fs.c getblk.c hyper.c ialloc.c \ inode.c pager.c pokel.c truncate.c storeinfo.c msg.c xinl.c OBJS = $(SRCS:.c=.o) -HURDLIBS = diskfs pager iohelp fshelp store ports ihash shouldbeinlibc +HURDLIBS = diskfs pager iohelp fshelp store ports ihash introspection \ + shouldbeinlibc OTHERLIBS = -lpthread $(and $(HAVE_LIBBZ2),-lbz2) $(and $(HAVE_LIBZ),-lz) include ../Makeconf |