public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/12081] New: procfs probes don't cope well with de-duping
@ 2010-10-02  0:37 jistone at redhat dot com
  0 siblings, 0 replies; only message in thread
From: jistone at redhat dot com @ 2010-10-02  0:37 UTC (permalink / raw)
  To: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-02  0:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-02  0:37 [Bug translator/12081] New: procfs probes don't cope well with de-duping jistone at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).