[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 07:28:15 -0500 (EST) |
> 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 some code to give you a head start on implementing this.
You can add flag fields to `struct msgid_info' and modify `msgid_display'
and `msgid_trace_replies' to examine those flags and the global option
settings. Then use new command line options to run through the msgid_ihash
table examining the RPC and subsystem names and setting these flags that
will control the tracing and printing.