From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8920 invoked by alias); 25 Nov 2014 10:24:44 -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 8871 invoked by uid 48); 25 Nov 2014 10:24:40 -0000 From: "peter at peca dot dk" To: systemtap@sourceware.org Subject: [Bug uprobes/17623] Sometimes probes fail to fire events when running against a multi-threaded application Date: Tue, 25 Nov 2014 10:24: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: peter at peca dot dk 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: 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/msg00197.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17623 --- Comment #12 from Peter Allin --- (In reply to David Smith from comment #11) > In theory it shouldn't, especially if you are using the script I posted that > doesn't print at every function hit but just increments a counter. Yes - I've been using your script with the counters. > > I'll still try with a newer kernel tomorrow. > Sounds good. I have tried with a 3.17.4 kernel, and got the same results. Repeated runs looks like this: func1: 7845 hits, func2: 0 hits func1: 7891 hits, func2: 7891 hits func1: 7793 hits, func2: 7793 hits func1: 7847 hits, func2: 7847 hits func1: 7811 hits, func2: 7811 hits func1: 7887 hits, func2: 0 hits func1: 7851 hits, func2: 0 hits func1: 7886 hits, func2: 0 hits func1: 7800 hits, func2: 7800 hits func1: 7889 hits, func2: 7889 hits func1: 7877 hits, func2: 0 hits -- You are receiving this mail because: You are the assignee for the bug.