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

2002-01-30 Thread Roland McGrath
> On Tue, Jan 29, 2002 at 10:08:55PM -0700, Michael Oberg wrote: > > (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 I just checked in so

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

2002-01-30 Thread Marcus Brinkmann
On Tue, Jan 29, 2002 at 10:08:55PM -0700, Michael Oberg wrote: > (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 Yes, this is potentially

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

2002-01-29 Thread Roland McGrath
> 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 pro

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

2002-01-29 Thread Michael Oberg
Roland McGrath wrote: > Thanks for working on this. > > I rewrote your changes to make some better use of convenient library > functions, and to parse the RPC number list format produced by the -list > option to mig. (I added that option to mig in version 1.2 last year after > previous discussi

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

2002-01-29 Thread Roland McGrath
Thanks for working on this. I rewrote your changes to make some better use of convenient library functions, and to parse the RPC number list format produced by the -list option to mig. (I added that option to mig in version 1.2 last year after previous discussions about this.) I've checked in m

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

2002-01-26 Thread Marcus Brinkmann
On Fri, Jan 25, 2002 at 09:48:35PM -0700, Michael Oberg wrote: > p.s. Im still confused as to what the ***locp argument to the ihash_add > function is for, and how it should be used. Can it be NULL, if im not > interested in using the explicit cleanup function? It makes it possible to use ihash

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

2002-01-25 Thread Michael Oberg
Below are my additions to hurd/utils/rpctrace.c in order to print out the RPC names instead of just the ID. The name->id associations are expected to be located in /etc/rpctrace/msgids. I used the associations that Roland McGrath posted to this list back in June in the thread "rpctrace improvem