Add freebsd sysinfo for telemetry#7985
Conversation
|
User @firegrass, please sign the CLA here. |
|
@firegrass could you answer the questions? |
@bkchr sorry for the delay. I need to make a few code changes to improve physical cores counting. |
dcdb076 to
1ce1e78
Compare
| sysinfo.cpu = Some(cpu_model); | ||
| } | ||
|
|
||
| if let Some(cores) = sysctl_output("kern.smp.cores") { |
There was a problem hiding this comment.
I have changed this from hw.ncpu to kern.smp.cores consistently handle SMP regardless of how it is configured in the bios. I have tested this on our available freebsd hosts and hardware.
|
Hey @bkchr - I have replied to your comments. TIA. |
Thanks @koute. Anything you need from me? Or is this just waiting for a second reviewer? |
|
You need one more review, the CI tests need to pass, and I think you might also need a prdoc. |
lexnv
left a comment
There was a problem hiding this comment.
LGTM! A few CI chores to make the testing pass:
|
@firegrass we need a |
|
Review required! Latest push from author must always be reviewed |
d8ced9d to
4004bcf
Compare
|
@bkchr sorry for the delay - PR should be good to merge now. Thanks 🙏 |
4004bcf to
5fce876
Compare
5fce876 to
798c00c
Compare
|
@firegrass Ser, sorry to tell you that the |
798c00c to
526c9b8
Compare
526c9b8 to
64e9130
Compare
|
@bkchr sorry, I had to force pushed again. Fighting GitHub for GPG 'Verified' |
934d513
# Description Gathering hardware information on FreeBSD ## Integration N/A (I think) ## Review Notes Please note FreeBSD does not use the linux kernel, nor is it's kernel versioned differently as in linux distros. # Checklist * [x] My PR includes a detailed description as outlined in the "Description" and its two subsections above. * [ ] My PR follows the [labeling requirements]( https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md#Process ) of this project (at minimum one label for `T` required) * External contributors: ask maintainers to put the right label on your PR. * [x] I have made corresponding changes to the documentation (if applicable) * [ ] I have added tests that prove my fix is effective or that my feature works (if applicable) You can remove the "Checklist" section once all have been checked. Thank you for your contribution! ✄ -----------------------------------------------------------------------------
* master: (62 commits) release/build-macos-binaries: add missing FEATURES argument (#8816) Add XCM Precompile to `pallet-xcm` (#8693) [Release|CI/CD] Exclude test runtimes from the runtimes build (#8820) Add freebsd sysinfo for telemetry (#7985) release-reusable-rc-build: add optional `features` input that can be considered for nodes building (#8755) [Staking] Cleanups and some improvements (#8701) Fix typos in 3 files in Implementers Guide (#8799) Update `RemoteExporter` docs to reflect removal of `forward_id_for` (#8795) Snowbridge: enforce fee when registering Polkadot native asset (#8725) Bump the ci_dependencies group across 1 directory with 7 updates (#8788) Docker hub 'master' image short sha (#8790) [Release|CI/CD] Combine branch-off and RC automation flows (#8754) Move Transaction depth limit checks (#8750) Add genesis presets for remaining runtimes in polkadot-parachain-bin (#8426) Do not make pallet-identity benchmarks signature-dependent (#8179) Introduction of Approval Slashes [Disabling Strategy Stage 4] (#6827) [AHM] Prepare For Westend Cleanup (#8715) Actually use RP offset in YAP parachain (#8745) [AHM] Relax the requirement for RC-Client to receive +1 session reports (#8702) Don't read storage items in logging (#8749) ...
# Description Gathering hardware information on FreeBSD ## Integration N/A (I think) ## Review Notes Please note FreeBSD does not use the linux kernel, nor is it's kernel versioned differently as in linux distros. # Checklist * [x] My PR includes a detailed description as outlined in the "Description" and its two subsections above. * [ ] My PR follows the [labeling requirements]( https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md#Process ) of this project (at minimum one label for `T` required) * External contributors: ask maintainers to put the right label on your PR. * [x] I have made corresponding changes to the documentation (if applicable) * [ ] I have added tests that prove my fix is effective or that my feature works (if applicable) You can remove the "Checklist" section once all have been checked. Thank you for your contribution! ✄ -----------------------------------------------------------------------------
# Description Gathering hardware information on FreeBSD ## Integration N/A (I think) ## Review Notes Please note FreeBSD does not use the linux kernel, nor is it's kernel versioned differently as in linux distros. # Checklist * [x] My PR includes a detailed description as outlined in the "Description" and its two subsections above. * [ ] My PR follows the [labeling requirements]( https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md#Process ) of this project (at minimum one label for `T` required) * External contributors: ask maintainers to put the right label on your PR. * [x] I have made corresponding changes to the documentation (if applicable) * [ ] I have added tests that prove my fix is effective or that my feature works (if applicable) You can remove the "Checklist" section once all have been checked. Thank you for your contribution! ✄ -----------------------------------------------------------------------------
# Description Gathering hardware information on FreeBSD ## Integration N/A (I think) ## Review Notes Please note FreeBSD does not use the linux kernel, nor is it's kernel versioned differently as in linux distros. # Checklist * [x] My PR includes a detailed description as outlined in the "Description" and its two subsections above. * [ ] My PR follows the [labeling requirements]( https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md#Process ) of this project (at minimum one label for `T` required) * External contributors: ask maintainers to put the right label on your PR. * [x] I have made corresponding changes to the documentation (if applicable) * [ ] I have added tests that prove my fix is effective or that my feature works (if applicable) You can remove the "Checklist" section once all have been checked. Thank you for your contribution! ✄ -----------------------------------------------------------------------------
Description
Gathering hardware information on FreeBSD
Integration
N/A (I think)
Review Notes
Please note FreeBSD does not use the linux kernel, nor is it's kernel versioned differently as in linux distros.
Checklist
Trequired)You can remove the "Checklist" section once all have been checked. Thank you for your contribution!
✄ -----------------------------------------------------------------------------