This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Fwd: Fwd: R.F.C. Should we abandon User-land probes?
oops send prematurely
---------- Forwarded message ----------
From: James Dickens <jamesd.wi@gmail.com>
Date: Oct 20, 2005 3:18 PM
Subject: Re: Fwd: R.F.C. Should we abandon User-land probes?
To: Martin Hunt <hunt@redhat.com>
Cc: "systemtap@sources.redhat.com" <systemtap@sources.redhat.com>
On 10/20/05, Martin Hunt <hunt@redhat.com> wrote:
> On Thu, 2005-10-20 at 15:06 -0500, James Dickens wrote:
>
> > yes those work fine in kernel code, since variables to access
> > components of the structs/unions are allready availible for the
> > systemtap code and tapsets, but that is not the case of userland,
> > especially in the case of C++ classes/struct. So the user required to
> > enable guru-mode.
>
> Whatever gave you that idea?
because systemtap doesn't understand struct/union etc. how else would
it know what are the members of the struct if they are only used in
userland.
struct linked_list {
struct *linked_list prev, next;
char *mydata;
struct *myother my;
}
James
>
> Martin
>
>
>