[llvm-bugs] [Bug 32148] New: Make XRay support timestamp emulation in x86_64

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 5 22:51:00 PST 2017


http://bugs.llvm.org/show_bug.cgi?id=32148

            Bug ID: 32148
           Summary: Make XRay support timestamp emulation in x86_64
           Product: XRay
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime
          Assignee: dberris at google.com
          Reporter: dberris at google.com
                CC: llvm-bugs at lists.llvm.org, rnk at google.com

Currently, XRay hard-fails to initialise on x86_64 machines that don't have
support for rdtscp enabled to user-space programs. Some POSIX operating systems
disable these for various reasons.

We currently have an alternative implementation being used in non-x86_64
systems where we don't have a user-space available cycle counter implementation
that emulates the tsc data. XRay should instead try to use this implementation
(or something very similar) instead of hard-failing to initialise.

This currently shows up in some build bots as test failures for XRay runtime
tests where it fails to detect rdstcp support.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170306/9cefe618/attachment.html>


More information about the llvm-bugs mailing list