-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 documentation for the -Zself-profile
flag
#69220
Add documentation for the -Zself-profile
flag
#69220
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
nice work. shall there maybe also be some short description of the -Zself_profile_events? |
9653640
to
58ec5d2
Compare
@andjo403 Yeah, that's a good idea! |
this looks amazing |
Thanks! |
src/doc/unstable-book/src/compiler-flags/self-profile-events.md
Outdated
Show resolved
Hide resolved
src/doc/unstable-book/src/compiler-flags/self-profile-events.md
Outdated
Show resolved
Hide resolved
src/doc/unstable-book/src/compiler-flags/self-profile-events.md
Outdated
Show resolved
Hide resolved
|
||
- `function-args` | ||
- Adds additional tracing data to some `generic-activity` events. | ||
- Disabled by default for parity with `query-keys`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
off-topic: we should measure if enabling this by default adds noticeable overhead.
Looks great! I left a few minor suggestions. |
58ec5d2
to
5b7e6c0
Compare
Thanks @michaelwoerister! I applied your suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wonderful, thanks @wesleywiser
@bors r+ rollup |
📌 Commit 5b7e6c0 has been approved by |
@bors rollup=always Just edits documentation, low risk. |
Thanks @nikomatsakis! Once this lands, I'll update the blog post to link to these docs, update the post date and then we'll be ready to post it. |
Rollup of 6 pull requests Successful merges: - #69220 (Add documentation for the `-Zself-profile` flag) - #69391 (Add rustdoc aliases to `ptr::copy` and `ptr::copy_nonoverlapping`) - #69427 (Cleanup e0368 e0369) - #69433 (don't explicitly compare against true or false) - #69435 (Replace uses of Cell::get + Cell::set with Cell::replace.) - #69437 (no more codegen for miri_start_panic) Failed merges: r? @ghost
No description provided.