This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/5898] New: adapt stap -c for user probes
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 8 Mar 2008 00:38:13 -0000
- Subject: [Bug translator/5898] New: adapt stap -c for user probes
- Reply-to: sourceware-bugzilla at sourceware dot org
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.