This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/12081] New: procfs probes don't cope well with de-duping
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 2 Oct 2010 00:36:56 -0000
- Subject: [Bug translator/12081] New: procfs probes don't cope well with de-duping
- Reply-to: sourceware-bugzilla at sourceware dot org
When the translator has merged identical probe bodies, the procfs probes end up
with a non-unique name for their buffers:
$ ./run-stap -e 'probe procfs("foo").read, procfs("bar").read { $value = pn() }'
-p4 --vp 0001
/tmp/stapFhIRBy/stap_10fdf6ac9d0c06eb4a65ba170795227b_1426.c:277: error:
duplicate member ?probe_1997?
make[1]: *** [/tmp/stapFhIRBy/stap_10fdf6ac9d0c06eb4a65ba170795227b_1426.o] Error 1
make: *** [_module_/tmp/stapFhIRBy] Error 2
Pass 4: compiled C into "stap_10fdf6ac9d0c06eb4a65ba170795227b_1426.ko" in
460usr/260sys/1103real ms.
Pass 4: compilation failed. Try again with another '--vp 0001' option.
275 static struct stap_procfs_probe_buffer {
276 char probe_1997[STP_PROCFS_BUFSIZE];
277 char probe_1997[STP_PROCFS_BUFSIZE];
278 } stap_procfs_probe_buffers;
--
Summary: procfs probes don't cope well with de-duping
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12081
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.