kprobe semaphore handling

Stan Cox scox@redhat.com
Wed Feb 24 21:55:00 GMT 2010


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) << "}";



More information about the Systemtap mailing list