From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12220 invoked by alias); 20 Nov 2012 22:00:49 -0000 Received: (qmail 11495 invoked by uid 48); 20 Nov 2012 22:00:20 -0000 From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/4569] _stp_gettimeofday_ns doesn't work for some archs Date: Tue, 20 Nov 2012 22:00: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: minor X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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-q4/txt/msg00206.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=4569 --- Comment #1 from William Cohen 2012-11-20 22:00:16 UTC --- It appears that some recent changes in the 3.6 linux kernel provide something other than 0 for get_cycles(): http://lxr.linux.no/#linux+v3.6/arch/arm/include/asm/timex.h #ifdef ARCH_HAS_READ_CURRENT_TIMER #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) #else #define get_cycles() (0) #endif In theory this should allow allow gtod and OVERLOAD2 test to work. The Fedora arm 18 kernel should have the correct CONF* set, but with the Linux wecf18arm 3.6.3-3.fc18.armv7hl.tegra still seeing: FAIL: gtod (0) FAIL: OVERLOAD2 no expected error -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.