This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: kprobe semaphore handling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]