This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10013] Support ENABLED sdt probe macro
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 5 Apr 2009 21:56:42 -0000
- Subject: [Bug runtime/10013] Support ENABLED sdt probe macro
- References: <20090330093705.10013.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2009-04-05 21:56 -------
> Maybe we can teach uprobes to replace with a specific move/assignment
> instruction instead of a trap instruction.
This optimization is the same as in the "move immediate" kernel markers.
However, it is not a *substitute* for a trap. It is only a substitute
for a condition evaluation.
> Then instead of with a normal STAP_PROBE replacing a "nop" with "int3", you
> would replace the "mov $0x0, %somereg" with "mov $0x1, %somereg".
You still need some way to enter the kernel.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10013
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.