diff options
author | dsmith <dsmith> | 2008-02-20 19:04:04 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2008-02-20 19:04:04 +0000 |
commit | eb973c2aa2c47a074166868d96b65a1e5d3707be (patch) | |
tree | 705bc8223429ea81e3b7c1f78102fcd6c28eda16 /stapprobes.5.in | |
parent | 4d4acff057561486db6f4190606cbd24749d457b (diff) | |
download | systemtap-steved-eb973c2aa2c47a074166868d96b65a1e5d3707be.tar.gz systemtap-steved-eb973c2aa2c47a074166868d96b65a1e5d3707be.tar.xz systemtap-steved-eb973c2aa2c47a074166868d96b65a1e5d3707be.zip |
2008-02-20 David Smith <dsmith@redhat.com>
* tapsets.cxx (struct mark_derived_probe): Renamed 'probe_sig' to
'probe_format'.
(mark_derived_probe::mark_derived_probe): Added new "format" probe
point component.
(mark_derived_probe::parse_probe_format): Renamed from
'mark_derived_probe::parse_probe_sig'.
(struct mark_builder): Added typedefs. Converted mark_cache from
a map to a multimap to handle markers with the same name but
different formats.
(mark_builder::build): Added new 'format' probe parameter.
(register_standard_tapsets): Added new 'format' marker probe
optional parameter.
* stapprobes.5.in (parts): Documented new "format" probe
component.
Diffstat (limited to 'stapprobes.5.in')
-rw-r--r-- | stapprobes.5.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/stapprobes.5.in b/stapprobes.5.in index 642ed739..55fcb3c7 100644 --- a/stapprobes.5.in +++ b/stapprobes.5.in @@ -363,7 +363,10 @@ The next part names the marker itself: .BR mark("name") . The marker name string, which may contain the usual wildcard characters, is matched against the names given to the marker macros when the kernel -and/or module was compiled. +and/or module was compiled. Optionally, you can specify +.BR format("format") . +Specifying the marker format string allows differentation between two +markers with the same name but different marker format strings. The handler associated with a marker-based probe may read the optional parameters specified at the macro call site. These are @@ -372,6 +375,9 @@ named where NN is the number of parameters supplied by the macro. Number and string parameters are passed in a type-safe manner. +The marker format string associated with a marker is available in +.BR $format . + .SS PERFORMANCE MONITORING HARDWARE The perfmon family of probe points is used to access the performance |