This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: user instruction tracing patch?
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Dave Nomura <dcnltc at us dot ibm dot com>
- Cc: systemtap at sourceware dot org
- Date: Wed, 19 Mar 2008 14:41:22 -0400
- Subject: Re: user instruction tracing patch?
- References: <4739E5C2.80206@us.ibm.com> <y0mzlxg4iw2.fsf@ton.toronto.redhat.com> <47D582BB.2060209@us.ibm.com> <20080317151458.GA23909@redhat.com> <47E157A8.3010508@us.ibm.com>
Hi -
> Can you point me at the patch(s) that implement conditional probes?
Search for usage of the condition field in probe_point's.
> Presumably, I'm going to somehow have to identify the inputs [...]
> Can you give me an overview of how the mechanism works in the
> translator, and an idea of how these actions are attached to
> "condition".
You won't need to worry about this part. It will be a generic feature
that will be activated for all probe families as a matter of course,
once I finish the first one (for ordinary kprobes). The syntax is
already active, and checking of the condition expressions is already
present (early during pass 2).
- FChE