This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: kprobe semaphore handling
- From: Stan Cox <scox at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Wed, 24 Feb 2010 16:56:30 -0500
- Subject: Re: kprobe semaphore handling
- References: <4B857A37.2070804@redhat.com>
In dwarf_derived_probe_group::emit_module_init only setup the task_finder as
needed:
+ s.op->newline() << "if (p->sdt_sem_offset) {";
s.op->newline(1) << "rc = stap_register_task_finder_target(&p->finder);";
+ s.op->newline(-1) << "}";