This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/3887] Need a syntax to specify probes alternatives
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Jan 2007 20:24:39 -0000
- Subject: [Bug translator/3887] Need a syntax to specify probes alternatives
- References: <20070118195513.3887.joshua.i.stone@intel.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2007-01-18 20:24 -------
It is an interesting idea.
One thing to consider though is that the different probe points are unlikely
to be completely interchangeable. Specifically $target variables available at
each variant may be quite different, requiring different handlers.
So how about associating the handlers with the alternatives?
probe kernel.mark("foo") { $arg1 ; $arg2 } ||
kernel.function("bar") { $var1 ; $var2 }
or even with less punctuation:
probe kernel.mark(....) { }
else kernel.function(....) { }
Another issue to consider is what to do with aliases.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3887
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.