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 #2 from Josh Stone <jistone at redhat dot com> 2012-11-20 22:39:43 UTC ---
(In reply to comment #1)
> 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

Perhaps try testing read_current_timer() directly to see what's returned?  The
implementation starts with a check that may return -ENXIO.  The CONF settings
only tell you what's in the kernel build, but at runtime it might still not
find supported timer hardware.

Also, _stp_gettimeofday_ns has a kludge for arm that will need to be adapted
for when get_cycles appears to work (i.e. when it's returning non-zero).

-- 
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]