Re: filtering of commands during async operation

Daniel Jacobowitz
2003-11-07T16:14:47Z

On Fri, Nov 07, 2003 at 11:00:20AM -0500, Newman, Mark (N-Superior Technical Resource Inc) wrote:
>
>
> > From: Elena Zannoni [mailto:ezannoni@redhat.com]
> .....
> >
> > > Next a request - Could you add "tfind", "tdump", "tstart",
> > and "tstop"
> > > to the list of acceptable commands? I know that if I am using
> > > tracepoints to monitor what is going on in a system I
> > don't want to wait
> > > and hope that whatever event I am monitoring for occurs.
> > I want to be
> > > able to look at the tracepoints while they are occurring.
> > >
> >
> >
> > It sounds like a sensible change, however I'd like to know a bit more
> > about the direction you are headed. Surely such a change would be a
> > candidate for a patch.
> >
>
> I am not certain what you mean by where I am headed. My near term
> objective is to get tracepoints running in the background and to provide
> some additions that I typically put in a debugger.
>
> I added some support for tracepoints in gdbserver. I then tested that
> in the foreground. It seemed that everyone writing to the lists at the
> time was doing that. That resulted in couple (3) of bug finds that were
> fixed.
>
> I provided a patch and a bug report (actually an enhancement - which I
> cannot find now) that allows tracepoints to run while in async mode. I
> am now looking at running tracepoints in the background. That resulted
> in this thread.
>
> I am headed at getting tracepoints to the point where I can start a
> remote target running, establish tracepoints, and then go in and peek
> and poke through those tracepoints without disturbing the remote process
> (as Jim's and Michael's Heisenberg paper talked about). I am trying to
> go a step further than their paper by allowing one to inspect the
> tracepoints while the remote is running, collecting, and hopefully not
> being perturbed. This is something I have done in the past with some
> commercial debuggers and I am tired of doing and redoing it.

Hi Mark,

Are you planning to also contribute the gdbserver support for these
feature? I'd love to see it added.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer