From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3970 invoked by alias); 12 Jun 2012 20:24:12 -0000 Received: (qmail 3958 invoked by uid 22791); 12 Jun 2012 20:24:11 -0000 X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jun 2012 20:23:58 +0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/14224] only the 1st of multiple identical perf probes get hit Date: Tue, 12 Jun 2012 20:24:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-q2/txt/msg00234.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14224 David Smith changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from David Smith 2012-06-12 20:23:57 UTC --- Fixed in commit 369bc6e. The original generated code always did a 'break' after registering the first perf probe, so following ones never got registered. ==== for (i=0; i<2; i++) { struct stap_perf_probe* stp = & stap_perf_probes [i]; rc = _stp_perf_init(stp); if (rc) { probe_point = stp->probe->pp; for (j=0; j