summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-21 16:47:14 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-10 23:30:09 +0200
commit75ec1eeaf6a3f08a01471821c9445b9334ff3bd5 (patch)
tree4214c6bf89ffdcdc7c0a8718aec716d7d8b3d73e /utils
parent8cb0a73e3a827ea6bba1bb86cfbd0bdbea0edba0 (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 'utils')
0 files changed, 0 insertions, 0 deletions