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]

[Bug translator/5898] New: adapt stap -c for user probes


stap should support some kind of probe syntax that means essentially
  probe process(target()).function("func") etc.
so when the user says
  stap -c pgm xxx.stp
and xxx.stp contains a probe definition like the above, the stap-generated
module registers the probe using pgm's pid, after the staprun child execs pgm.

Kprobes are registered before the exec, but uprobes registration must wait 'til
the process is running the right program.  I guess this means registering a
utrace  engine, with exec callback, during systemtap_module_init() and having
the exec callback register the uprobes.

-- 
           Summary: adapt stap -c for user probes
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5898

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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