Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make XRay support timestamp emulation in x86_64 #31496

Closed
llvmbot opened this issue Mar 6, 2017 · 2 comments
Closed

Make XRay support timestamp emulation in x86_64 #31496

llvmbot opened this issue Mar 6, 2017 · 2 comments
Labels
bugzilla Issues migrated from bugzilla xray

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Mar 6, 2017

Bugzilla Link 32148
Resolution FIXED
Resolved on Apr 08, 2017 11:48
Version unspecified
OS Linux
Blocks #31929
Reporter LLVM Bugzilla Contributor
CC @rnk

Extended Description

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.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Mar 15, 2017

Fixed in https://reviews.llvm.org/rL297800

@sylvestre
Copy link
Collaborator

mentioned in issue #31929

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla xray
Projects
None yet
Development

No branches or pull requests

2 participants