diff options
| author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-23 08:42:45 +0200 |
|---|---|---|
| committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-10 23:30:09 +0200 |
| commit | fa35dc7eb39180e83f22cc8df4c300f6be50b814 (patch) | |
| tree | e0b76b3005e7875cbcb2c56bd1527e19beb62261 /utils/Makefile | |
| parent | 984d1271338847605008932b080bc7aca5161070 (diff) | |
utils/rpctrace: support attaching to serversintrospection-2015-09-11
* utils/rpctrace.c (options): Add `--pid' and `--reference-port'.
(print_contents): Prevent the translation of rights if `req' is NULL.
We will use this to print messages in `trace_server'.
(parse_task): New function.
(trace_server): Mach server function that displays relayed messages.
(trace_class_rpcs): New function that attaches to a server and starts
tracing.
(parse_opt): Handle `--pid' and `--reference-port'.
(main): Handle new arguments, call trace_class_rpcs if desired.
Diffstat (limited to 'utils/Makefile')
| -rw-r--r-- | utils/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/Makefile b/utils/Makefile index 955789b7..352494ae 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -34,7 +34,7 @@ SRCS = shd.c ps.c settrans.c syncfs.c showtrans.c addauth.c rmauth.c \ nullauth.c match-options.c msgids.c rpcscan.c OBJS = $(filter-out %.sh,$(SRCS:.c=.o)) -HURDLIBS = ps ihash store fshelp ports ftpconn shouldbeinlibc +HURDLIBS = ps ihash store fshelp ports ftpconn shouldbeinlibc introspection LDLIBS += -lpthread login-LDLIBS = -lutil -lcrypt addauth-LDLIBS = -lcrypt @@ -67,7 +67,8 @@ ps w ids settrans syncfs showtrans fsysopts storeinfo login vmstat portinfo \ $(filter-out $(special-targets), $(targets)): %: %.o -rpctrace: ../libports/libports.a +rpctrace: ../libports/libports.a \ + ../libintrospection/libintrospection.a hurd_portUser.o rpctrace rpcscan: msgids.o \ ../libihash/libihash.a msgids-CPPFLAGS = -DDATADIR=\"${datadir}\" |
