[Bug translator/3887] Need a syntax to specify probes alternatives
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Jan 18 20:24:00 GMT 2007
------- 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.
More information about the Systemtap
mailing list