This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/4569] _stp_gettimeofday_ns doesn't work for some archs
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 20 Nov 2012 22:00:16 +0000
- Subject: [Bug runtime/4569] _stp_gettimeofday_ns doesn't work for some archs
- Auto-submitted: auto-generated
- References: <bug-4569-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=4569
--- Comment #1 from William Cohen <wcohen at redhat dot com> 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.