bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hurd/utils/rpctrace.c - print RPC names as well as the ID


From: Roland McGrath
Subject: Re: hurd/utils/rpctrace.c - print RPC names as well as the ID
Date: Wed, 30 Jan 2002 02:40:28 -0500 (EST)

> Your rewrite appears to work perfectly, although I haven't done extensive
> testing. I just checked that without an input file that the output shows the
> ID, and that the correct name is listed when an input file is given.

Great.  Thanks for testing it.

> 
> Oh, ic.  The ticket is to only provide one .defs at a time.

No, you can give more than one file on the mig command line.

> The next improvements that I am gearing towards are:
> (1) A --verbose option that would show all datatype definitions from the
> RPC and its data, so instead of just showing the following for vm_region:

This is quite a lot of work to do at all properly.  It's not what I would
suggest as the next improvement to make.  Doing this requires a lot of work
on mig or on something else to examine the types in .defs files.

> (2) Filtering Options:
>       - Show/Dont show specific msg ID/Name.
>       - Show/Dont show specific subsystem(s).
>       - Show/Dont show range of IDs/subsystems/rights.
>       - Show/Dont show reply's
> 
> What are everyone's thoughts on this?

These seem potentially more useful, though I'm not sure how useful those
options are as described.  At this point we should have people using
rpctrace to debug and learn about the system.  From that real experience
people will see what other features they would like.

One place to start is looking at strace (Linux), truss (Solaris), and
ktrace (BSD) for what options they have that are easy to add to rpctrace.
For example, printing timestamps for each message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]