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

Restructure the namespace #4117

Merged
merged 8 commits into from
Jul 8, 2022
Merged

Restructure the namespace #4117

merged 8 commits into from
Jul 8, 2022

Conversation

jutaro
Copy link
Contributor

@jutaro jutaro commented Jun 30, 2022

Restructure the namespace of trace messages to get some logic into it.

@jutaro jutaro self-assigned this Jun 30, 2022
@jutaro jutaro requested a review from deepfire June 30, 2022 10:53
@jutaro jutaro linked an issue Jun 30, 2022 that may be closed by this pull request
@jutaro jutaro force-pushed the jutaro/restructure-namespace branch from 17fd953 to e3f1fcc Compare July 6, 2022 08:55
@jutaro jutaro marked this pull request as ready for review July 6, 2022 09:58
@deepfire deepfire force-pushed the jutaro/restructure-namespace branch from 6c929b5 to 10558d0 Compare July 6, 2022 15:06
, IntM "rts.mutticks" (fromIntegral $ rCentiMut rs)
, IntM "rts.stat.threads" (fromIntegral $ rThreads rs)
[ IntM "Resources.Stat.Cputicks" (fromIntegral $ rCentiCpu rs)
, IntM "Resources.mem.Resident" (fromIntegral $ rRSS rs)
Copy link
Contributor

Choose a reason for hiding this comment

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

@jutaro Is it "Resources.mem.Resident" and not "Resources.Mem.Resident"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be: Resources.Mem.Resident

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks

@deepfire
Copy link
Contributor

deepfire commented Jul 7, 2022

This is great -- thank you @jutaro !

@deepfire deepfire force-pushed the jutaro/restructure-namespace branch from fdbd963 to 2454216 Compare July 7, 2022 19:17
@deepfire deepfire force-pushed the jutaro/restructure-namespace branch 2 times, most recently from b21b4fc to d6ebd0e Compare July 8, 2022 00:17
@jutaro jutaro force-pushed the jutaro/restructure-namespace branch from d6ebd0e to 3787011 Compare July 8, 2022 07:52
@jutaro
Copy link
Contributor Author

jutaro commented Jul 8, 2022

bors merge

"Tell the consumer to extend their chain with the given header.\
\\n\
"Tell the consumer to extend their chain with the given header. \
\\n \
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the space after the newline intentional?

"Request one or more transactions corresponding to the given \
\transaction identifiers. \
\\n\
"Request one or more transactions corresponding to the given \
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the double space intentional?

The message also tells the consumer about the head point of the producer.
***
> Tell the consumer to extend their chain with the given header.
> The message also tells the consumer about the head point of the producer.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this indentation intentional?


***
> We forged a block.
> We record the current slot number, the point of the predecessor, the block itself, and the total size of the mempool snapshot at the time we produced the block (which may be significantly larger than the block, due to maximum block size)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can see the double space manifest in this text. Is this intentional?

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jul 8, 2022

Build succeeded:

@iohk-bors iohk-bors bot merged commit b468e52 into master Jul 8, 2022
@iohk-bors iohk-bors bot deleted the jutaro/restructure-namespace branch July 8, 2022 13:56
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.

tracing: restructure the namespace
5 participants