-
-
Notifications
You must be signed in to change notification settings - Fork 123
WIP: preparing conditional compilation for multiple os #148
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
Merged
Merged
Changes from 123 commits
Commits
Show all changes
141 commits
Select commit
Hold shift + click to select a range
bb5a9f6
chore: preparing conditional compilation for multiple os
bpetit 6e111e8
ci: trying new modular ci workflow
bpetit 8762017
fix: fixing badge on readme
bpetit b28da7a
ci: trying to fix workflow trigger
bpetit b15da23
ci: trying to fix workflow trigger
bpetit 298906a
fix: fixed id used twice in workflow
bpetit bf35032
ci: rollback on ci branch filter
bpetit e30087a
style: cargo fmt
bpetit 98c2c2d
ci: merging fmt and clippy jobs as they are fast and require to insta…
bpetit adc8ca0
style: cargo clippy
bpetit e35af48
style: clippy
bpetit 8ab217b
fix: github vars are undefined
bpetit 58230a3
fix: github vars are undefined
bpetit 7429286
fix: github vars are undefined
bpetit abfadf1
ci: fixing awx parameters
bpetit cfca4f4
ci: fixing awx parameters
bpetit 4b4c4d8
ci: fixing awx parameters
bpetit c18855c
ci: enabling rust fmt test
bpetit 816633a
ci: enabling rust fmt test
bpetit 84f1373
ci: renaming test job
bpetit ef60d79
fix: fixed test
bpetit fb4bf0c
fix: doctest
bpetit 77abe32
style: cargo fmt
bpetit badb89b
ci: added docker build and prometheus test to workflow
bpetit 354e909
ci: fixing job ids
bpetit 38c6970
ci: adding windows job boilerplate
bpetit 9deb06a
ci: installing rust in windows worker
bpetit 0dfc6bd
ci: fixing windows job
bpetit 95b9e77
ci: fixing chocolatey args
bpetit c245955
ci: fixing chocolatey args
bpetit 78e8c28
ci: fixing chocolatey args
bpetit 34e8cd7
ci: fixing chocolatey args
bpetit 4322a21
ci: fixing chocolatey args
bpetit 1a49d92
ci: trying to cancel in-progress workflows when a new one is triggere…
bpetit 88d857c
ci: trying a build on windows
bpetit 057f2df
fix: fixing some compilation errors with windows
bpetit 97e063d
build: applied conditional compilation to containers feature
bpetit 3beedb0
style: fmt and clippy
bpetit 6fab8a2
build: selecting compatibles features for windows
bpetit dc775de
style: cargo gmt
bpetit f238557
build: disabling default features for windows
bpetit 8eca92b
docs: trying to include contributing documentation in CONTRIBUTING
bpetit 40beb78
ci: removing warp10 from windows build, as it is not compatible yet
bpetit 647ba71
feat: added multi os abstraction basis for processes memry stats
bpetit 159aa50
style: fmt and clippy
bpetit 3a2b3b9
docs: fixed render in CONTRIBUTING.md
bpetit e1fffdf
build: fixed linux specific declarations
bpetit 0f7d7ec
build: fixing os specific exceptions
bpetit b2b37fc
style: fmt
bpetit 3449a80
ci: removing debug step
bpetit d2a7b0b
build: fixing issues on windows build
bpetit 1fef704
build: escaped linux specific code
bpetit 363ae32
style: fmt
bpetit dd2911d
build: trying to fix errors on windows build
bpetit a89ebee
build: preparing interface to manage windows process stats
bpetit 7b66e76
chore: implementing status() for IProcess
bpetit bd35205
build: fix build errors on windows
bpetit 4ccd359
chode: implemented exe() for IProcess
bpetit d84364c
chore: using exe() on IProcess
bpetit 732690c
build: fixing dumb error on windows
bpetit e70d0eb
build: basic tests and skeleton for MsrRAPLSensor
bpetit 1f3d0b5
build: trying to apply procfs and windows-rs as target specific deps
bpetit 9b7113d
build: fixed linux specific dependencies
bpetit 52f3a97
style: cargo fmt
bpetit 246c73b
build: escaped warp10 as a feature
bpetit 5ebc105
build: escaped warp10 as a feature
bpetit ab2b2c1
chore: fixed mutability for new sensor
bpetit f70bf14
build: made msr_rapl sensor default for windows
bpetit 8b66f01
refactor: applying different behavior per sensor
bpetit e3e36a5
refactor: made powercap rapl sensor work with new trait architecture
bpetit 9bcd498
refactor: got first (wrong) metrics through topology up to stdout exp…
bpetit cd4b1e1
refactor: disabling old functions in topology
bpetit 7a9f041
refactor: fixing bug in getting process status
bpetit 25851ba
style: cleaning code
bpetit 388100f
refactor: fixing mutability in get alive processes
bpetit 992a42b
pushing non compiling version as a reference to discuss with @Vic063
bpetit dac1ef7
fix: getting metrics from the new driver version
bpetit 1dd6c43
feat: processes power measurement working (need to fix unit)
bpetit ff120a4
fix: fixed power consumption per process and cleaned code
bpetit 178a949
refactor: applying different behavior per sensor
bpetit 82de6b3
refactor: made powercap rapl sensor work with new trait architecture
bpetit e8e7dd0
refactor: got first (wrong) metrics through topology up to stdout exp…
bpetit 4641501
refactor: disabling old functions in topology
bpetit 29189d0
refactor: fixing bug in getting process status
bpetit cb4745f
style: cleaning code
bpetit 092baa7
refactor: fixing mutability in get alive processes
bpetit e2de66b
pushing non compiling version as a reference to discuss with @Vic063
bpetit c0c5384
fix: getting metrics from the new driver version
bpetit 6d850bc
feat: processes power measurement working (need to fix unit)
bpetit 3612537
fix: fixed power consumption per process and cleaned code
bpetit bcf6e16
style: cleaning code
bpetit d1baf90
Merge branch 'feat/conditional-compilation' into feat/trait-for-diffe…
bpetit f213757
Merge pull request #154 from hubblo-org/feat/trait-for-different-sensors
bpetit 86e8a32
fix; fixing linux version on this branch
bpetit e4d4cf7
style: clippy and fmt
bpetit 7c82ba6
perf: cleaning (yet) unused field
bpetit 193a99c
style: clippy
bpetit 21e7d1f
style: fmt
bpetit 4802fde
Revert "perf: cleaning (yet) unused field"
bpetit 6e3d37c
fix: target_os for qemu import
bpetit ea5c6c9
fix: cleaning import
bpetit f416652
fix: multi platform clippy is not so nice
bpetit 2179b42
fix: cpu usage percentage for windows
bpetit 563e984
Merge branch 'feat/conditional-compilation' of https://github.com/hub…
bpetit 41439f1
style: fmt
bpetit a3d98d0
fix: fixing ubuntu version of the docker image to 20.04
bpetit d2a01e5
perf: adding dockerignore to lighten the image
bpetit a3ced54
ci: temporarily removing clippy check
bpetit 66ec24a
style: clippy
bpetit 387733e
Merge branch 'feat/conditional-compilation' of https://github.com/hub…
bpetit a832478
Merge branch 'dev' into feat/conditional-compilation
bpetit 491066c
style: fmt
bpetit 78d4267
Merge branch 'feat/conditional-compilation' of https://github.com/hub…
bpetit e23007d
style: clippy
bpetit 4c89ca3
style: fmt
bpetit 84a1791
ci: upgrading to gh action chocolatey v2
bpetit 734a919
fix: preventing a missing cmdline line to make scaphandre crash
bpetit a726613
ci: ignoring checksums for rustup in windos test
bpetit 7479d25
ci: adding fmt and clippy test for windows
bpetit fb9195f
ci: fixing job syntax
bpetit 0fae59a
Merge branch 'dev' into feat/conditional-compilation
bpetit 4d89bef
style: clippy
bpetit d78e08b
docs: update compatibility doc
bpetit d413af5
fix: addressed comment from @uggla https://github.com/hubblo-org/scap…
bpetit e9c96cb
fix: change accordingly to @uggla's comment https://github.com/hubblo…
bpetit c2defc1
chore: removing unsued lazy_static dep
bpetit f8a4efc
fix: adapting docker cgroup regex to updates in debian buster/ubuntu>21
bpetit 5bc6bc9
fix: troubleshooting containers labelling
bpetit ec39cd8
fix: added verbosity to docker compose for tests troubleshoot
bpetit f09a8ac
fix: added verbosity to docker compose for tests troubleshoot
bpetit f471086
fix: fixing docker labels issue on debian bullseye
bpetit 924ae26
style: cargo fmt
bpetit 8b60942
fix: fixing docker regex
bpetit 599c1d5
fix: fixing docker regex
bpetit f13cfe0
fix: fixing docker regex
bpetit b114b01
fix: looking for container labels
bpetit 54d5d26
fix: tracking container cgroup strings that match no regex on ci machine
bpetit 8e84150
style: cleaned code
bpetit 82cd72d
ci: adding cargo bloat to tests
bpetit cdca0a6
ci: disabling bloat test, to be fixed
bpetit 6390465
docs: adding section for msr rapl sensor
bpetit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| target/ | ||
|
|
||
| docs_src/ | ||
|
|
||
| .git | ||
|
|
||
| .cache | ||
|
|
||
| *.md | ||
|
|
||
| *.jpg | ||
|
|
||
| *.png | ||
|
|
||
| *.svg | ||
|
|
||
| book.toml | ||
|
|
||
| helm/ | ||
|
|
||
| docker-compose/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| Please have a look at our [Contributing guide](https://hubblo-org.github.io/scaphandre-documentation/contributing.html) ! | ||
|
|
||
| Or from the code repository directly : [contributing.md](docs_src/contributing.md). |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why do you restrict to such features and not use the default ones?
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.
For now, other exporters require openssl crate which asks for linux openssl libraries.
Once we hare removed this requirements for rustls we should be able to allow all features on windows.