Hi -
On Thu, Jun 12, 2008 at 06:53:41PM +0200, Peter Zijlstra wrote:
The "which data" is definitely a trace point concern. It communicates
from the developer to users as to what values are likely to be of
interest.
"I" don't ship or generate dwarf data. Distributors do.
For us, it's too late. In systemtap, we try to give people useful
information when they make mistakes. For probes of whatever sort, we
want to know the available data types and names, while just starting
to process their script, so that we can check types and suggest
alternatives. C code compilation is quite some way removed and is
supposed to be a systemtap internal implementation detail.
Really...
You are missing that (a) this is the point of markers - to allow the
the gajillion tracers a single place per event to hook through, and
(b) we would like to leave to subsystem developers and/or end-users as
to what data should be available. We don't want to get into the
middle of it.
Only you are talking about "restricting". I am talking about
thoughtfully *adding* simple scalar values that most tracing type
tools will generally want, so that they don't have to perform heroic
measures like ship their own dwarf subsets or parse kernel source
code.
Which scalars? Well, it depends on the subsystem and event, and you
can review here several discussions about specific lttng
instrumentation markers to see how they generally go.
- FChE
--