This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
redundancy of probe handlers generations
- From: Li Guanglei <guanglei at cn dot ibm dot com>
- To: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Mon, 06 Mar 2006 16:14:41 +0800
- Subject: redundancy of probe handlers generations
- Organization: IBM CSTL
Hi,
Take a very simple example:
probe kernel.function("sys_read"), kernel.function("sys_write")
{
log("here")
}
systemtap will generate two probe handlers with the names of probe_0
and probe_1. But these two are in fact the same. Especially when the
list of probe points grows large, a lot of redundant codes will be
generated.