[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hurd server introspection and tracing
From: |
Justus Winter |
Subject: |
Hurd server introspection and tracing |
Date: |
Thu, 23 Oct 2014 17:16:38 +0200 |
Hello :)
this patch series adds introspection and tracing facilities to the
Hurd servers using libports. This isn't ready yet, but I'd like to
give everyone a chance to complain early on. Some notes:
* I use Machs `Inherited Ports' mechanism to install a receive right
at a well-known location to serve introspection requests. This is
by choice orthogonal to the usual mechanism used in the Hurd, as I
want it to be as universal as possible (e.g. I want to be able to
use it on the proc server).
* Servers can label port buckets and classes, and install a function
that creates a human-readable description of an object. This
information is then presented to the user doing portinfo
--query-process, a feature that is hinted to by a #if 0ed option in
portinfo.c.
* rpctrace can now attach to cooperating servers that just relay
messages to the tracing process. To that end, a footer is attached
to the message to preserve original remote and local port, all
rights are turned into mere names, and the msgt_deallocate flag is
cleared so that out-of-band data isn't deallocated when we resend
the message.
* A new library, libintrospection, handles the introspection port
registration and lookup, and the message wrapping/unwrapping.
Flame on :)
Justus
- Hurd server introspection and tracing,
Justus Winter <=
- [PATCH hurd 1/8] hurd: add an Hurd server introspection protocol, Justus Winter, 2014/10/23
- [PATCH hurd 3/8] libports: implement the Hurd server introspection protocol, Justus Winter, 2014/10/23
- [PATCH hurd 4/8] utils: implement portinfo --query-process, Justus Winter, 2014/10/23
- [PATCH hurd 6/8] libpager: annotate objects managed by libports, Justus Winter, 2014/10/23
- [PATCH hurd 5/8] libdiskfs: annotate objects managed by libports, Justus Winter, 2014/10/23
- [PATCH hurd 2/8] libintrospection: a library for Hurd server introspection, Justus Winter, 2014/10/23
- [PATCH hurd 7/8] ext2fs: annotate objects managed by libports, Justus Winter, 2014/10/23
- [PATCH hurd 8/8] utils/rpctrace: support attaching to servers, Justus Winter, 2014/10/23
- Re: Hurd server introspection and tracing, Richard Braun, 2014/10/25