From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26388 invoked by alias); 20 Nov 2014 17:04:01 -0000 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 Received: (qmail 26351 invoked by uid 48); 20 Nov 2014 17:03:57 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug uprobes/17623] Sometimes probes fail to fire events when running against a multi-threaded application Date: Thu, 20 Nov 2014 17:04:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: uprobes X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q4/txt/msg00169.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17623 David Smith changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dsmith at redhat dot com --- Comment #5 from David Smith --- Created attachment 7955 --> https://sourceware.org/bugzilla/attachment.cgi?id=7955&action=edit 2nd test script On my F20 vm (3.16.3-200.fc20.x86_64), your test program and script worked fine (even at WAIT_US 1). What kernel are you running? When you finally stopped systemtap, did it report any skipped probes? I've attached a modified test script that I'd like you to try. In case you are overrunning the print system, this version just has counters. When you interrupt systemtap, it will print the count of each function hit. For me for instance with HEAD systemtap, it reports the following: When I ran 'stap test2.stp -c ./foobar', I get: func1: 207326 hits, func2: 207325 hits When I ran './foobar &; stap test2.stp', I get: func1: 173137 hits, func2: 173137 hits Depending on what you get with test2.stp, can I ask you to try with HEAD systemtap and see what you get? -- You are receiving this mail because: You are the assignee for the bug.