Skip to content

Commit

Permalink
Improve command line argument handling and help
Browse files Browse the repository at this point in the history
- Add --duration and --sample_freq options
- Check range/primeness of --sample_freq option
- Added --flamegraph_file option
- Added #cfg[test] block for main.rs
- Add version locks in Cargo.toml
- Added docs/help for remaining arguments
- Add rstest crate; parameterize tests for sample-freq option
- Add doc/help for --filter-logs arg
- Use strings feature of clap crate to handle --duration option default properly
  • Loading branch information
gmarler committed Mar 24, 2024
1 parent f96a762 commit 69938fc
Show file tree
Hide file tree
Showing 5 changed files with 525 additions and 84 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/target
flame.svg
src/bpf/*_skel.rs
src/bpf/*_skel.rs
Loading

0 comments on commit 69938fc

Please sign in to comment.