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 additinonal data to crox events #108

Merged
merged 1 commit into from Jan 15, 2020

Conversation

andjo403
Copy link
Contributor

hade been nice to have some reserved names (eg. def_id, cgu_id ...) for the additional data now I have only enumerated them.

eg. of how it looks in chrome://tracing/
image

@wesleywiser wesleywiser self-assigned this Jan 15, 2020
Copy link
Member

@wesleywiser wesleywiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome!

crox/src/main.rs Outdated Show resolved Hide resolved
@wesleywiser wesleywiser merged commit 8cb2704 into rust-lang:master Jan 15, 2020
@andjo403 andjo403 deleted the crox_args branch January 15, 2020 10:12
@andjo403
Copy link
Contributor Author

@michaelwoerister how do you feel about having the seperators inform about the type of argument that will come e.g. so def_id can be printed insted of arg0

@michaelwoerister
Copy link
Member

I think the main problem is that we don't have the parameter name available at the time of recording. In many cases we don't even define a name for the argument (and most of the time it's just key).

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.

None yet

3 participants