This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: R.F.C. Should we abandon User-land probes?


jamesd wrote:

> [...]
> because systemtap doesn't understand struct/union etc. how would it
> know what are the members of the struct
>
> struct linked_list {
>    struct *linked_list prev, next;

There is a germ of truth to something you don't say (a), but said truth
germ is absent in what you do say (b).

(a) Operators for programmatic traversal of link/tree structures have
not yet been defined.  If you don't know what this means, you won't
miss it.

(b) Probes for the user-level programs would rely on the debug info
for those programs, in exactly the same way we use kernel debug info
for kernel-level probes.  So user-level structs and such should be
exactly as navigable as kernel-level ones.


- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]