This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/4569] _stp_gettimeofday_ns doesn't work for some archs


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]