From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2553 invoked by alias); 2 Oct 2010 00:37:11 -0000 Received: (qmail 478 invoked by uid 48); 2 Oct 2010 00:36:56 -0000 Date: Sat, 02 Oct 2010 00:37:00 -0000 From: "jistone at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20101002003656.12081.jistone@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/12081] New: procfs probes don't cope well with de-duping X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2010-q4/txt/msg00003.txt.bz2 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.