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

Add docs about the perf event ids. #2420

Merged
merged 1 commit into from
Dec 14, 2019

Conversation

tbosch
Copy link
Contributor

@tbosch tbosch commented Dec 9, 2019

It took me quite a bit to figure out what these special numbers mean.
I.e. these docs might be useful for any future reader.

@khuey
Copy link
Collaborator

khuey commented Dec 10, 2019

What were you trying to figure out?

@tbosch
Copy link
Contributor Author

tbosch commented Dec 10, 2019

Just where this number 0x5101c4 came from and what it means exactly.

@tbosch
Copy link
Contributor Author

tbosch commented Dec 10, 2019

I was trying to reproduce sporadic failures that we saw when using rr ("Got 0 branch events, expected at least 500"). So I was trying to use perf stat -e 0x5101c4 ... to reproduce this, but the calls to perf and rr didn't always fail at the same time.

So I was trying to investigate where the number 0x5101c4 came from...

After some debugging, our issue seems to be #2422

@rocallahan rocallahan merged commit 7453d4e into rr-debugger:master Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants