160 Commits (d22827603dcd31b2adca4c701204cc991ed0cf7f)
 

Author SHA1 Message Date
pdliyan d22827603d remove white line. 1 year ago
pdliyan f3eb374c3e remove rlimit use. 1 year ago
pdliyan bc2db6b112 use libc instead of rlimit. 1 year ago
pdliyan f8639db35a add memlock remove. 1 year ago
dependabot[bot] d0e4a02fe2
Merge pull request #93 from aya-rs/dependabot/github_actions/actions/checkout-3 1 year ago
dependabot[bot] 1a1d2b625e
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Tamir Duberstein b14a75f692 github: add dependabot 1 year ago
Tamir Duberstein 0c06a47bc2 Remove redundant instructions
We just need to install bpf-linker; the rest of this is already encoded
in rust-toolchain.toml.

Fixes #83.
1 year ago
Tamir Duberstein d6334c269a
github: add rust-cache
Fixes #50.
1 year ago
Alessandro Decina 69ea57ac54
Merge pull request #90 from aya-rs/fix-tests
Fix sk_msg tests
1 year ago
Tamir Duberstein 3013ab506d
Fix sk_msg tests
These were broken by #89 which pulled in
https://github.com/aya-rs/aya/pull/397 and other changes which were not
reflected in the templates.
1 year ago
Arindam Das b45787c353
fix: fixes aya and aya-log version mismatch (#89)
Fixes aya and aya-log version mismatch between {{project-name}}-epbf and {{project-name}} crates.

Fixes https://github.com/aya-rs/aya/issues/565.
1 year ago
Alessandro Decina 8e92b72545
Merge pull request #86 from tamird/actions-rs
Replace actions-rs/toolchain with dtolnay/rust-toolchain
2 years ago
Tamir Duberstein 37654a088e
Replace actions-rs/toolchain with dtolnay/rust-toolchain
See https://github.com/actions-rs/toolchain/issues/216; actions-rs seems
to be unmaintained.
2 years ago
Alessandro Decina 4ce0e28314
Merge pull request #82 from dmitris/nightly-text
sync rustup nightly install directions with Book
2 years ago
Dmitry Savintsev 732b7ea930 sync run nightly install directions with Book
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
vadorovsky b00519ff0d
Merge pull request #81 from dmitris/deps-upd
upgrade deps: tokio and anyhow
2 years ago
Dmitry Savintsev 715967772f upgrade deps: tokio and anyhow 2 years ago
Michal Rostecki 6a605e08dd
Merge pull request #80 from dmitris/toml-space
minor space fix for VSCode toml formatting
2 years ago
Dmitry Savintsev 347d37c914 minor space fix for VSCode toml formatting
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Michal Rostecki 16b8d42238
Merge pull request #78 from vadorovsky/unpin-nightly
Unpin Rust nightly
2 years ago
Michal Rostecki 11f406414e Unpin Rust nightly
The issues with core::sync::atomic got fixed.

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
Michal Rostecki 80a7c5b53c
Merge pull request #77 from dmitris/crossplat
Remove unix-specific executor in xtask
2 years ago
Dmitry Savintsev 7008f570b0 fail with descriptive message
Co-authored-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
Dmitry Savintsev 255c59cf98 Remove unix-specific executor in xtask
Change unix-specific executor to generic one
to enable xtask working on Windows and eventually
be able to cross-compile on Windows.

Fixes #76.

Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Michal Rostecki e03b1f6979
Merge pull request #75 from dmitris/fix-uprobe
Fix uprobe programs and VSCode spacing
2 years ago
Dmitry Savintsev 7016308147 fix uprobe programs
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Dmitry Savintsev 8cd95c42ea adjust spacing to avoid VSCode changes on save
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Michal Rostecki 999d98cc3d
Merge pull request #74 from dmitris/deps-update
update anyhow, clap, and tokio
2 years ago
Dmitry Savintsev c6c4082093 update anyhow, clap, and tokio 2 years ago
Michal Rostecki fa404ffb26
Merge pull request #68 from dmitris/fix-clippy
include and use clap only if needed
2 years ago
Dmitry Savintsev e7ccd1a71e include and use clap only if needed
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Michal Rostecki 224274f8a7
Merge pull request #73 from lucab/ups/perf-event
cargo-generate: add perf_event
2 years ago
Luca BRUNO 554702e63d
cargo-generate: add perf_event
This adds `perf_event` program type as a template entry.
The new entry comes with a skeleton example which register
scheduled events on each CPU at 1 HZ, triggered by the kernel
(based on clock ticks). The corresponding BPF logic logs each
event, and can identify kernel tasks from userland processes.
2 years ago
Michal Rostecki 65091e30bc
Merge pull request #71 from lucab/ups/fix-sorting
cargo-generate: sort program types
2 years ago
Luca BRUNO 463013a11e cargo-generate: sort program types 2 years ago
Michal Rostecki 7fe5a39b7c
Merge pull request #72 from joshuataylor/feature/rust-toolchain-defaults
Add rust-src to -ebpf components
2 years ago
Michal Rostecki 3fdfd8b200 rust-toolchain: Add a comment about rust-src
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
Josh Taylor 35d480a341 Add rust-src to components 2 years ago
Michal Rostecki ccdafe53e2
Merge pull request #70 from arctic-alpaca/cargo_clean_env
Honor rust-toolchain.toml file in xtask, remove env vars with CARGO/RUST prefix
2 years ago
arctic-alpaca 9e3027896e
CI: Pin nightly toolchain to 2023-01-10, install bpf-linker on stable 2 years ago
arctic-alpaca 5af9b38bd6
Pin nightly version in -ebpf 2 years ago
arctic-alpaca 5b3653c936
Only remove RUSTUP_TOOLCHAIN env var in xtask build-ebpf 2 years ago
arctic-alpaca 039c07f7a2
Honor rust-toolchain.toml file in xtask, remove cargo/rust env vars
Remove env vars related to rust and cargo before executing cargo.
2 years ago
Michal Rostecki 2ba73f6f2f
Merge pull request #67 from dmitris/fix-clippy
Fix clippy issues in the generated code.
2 years ago
Michal Rostecki 806571f3d3
Merge pull request #65 from vadorovsky/raw-tracepoint
Add raw_tracepoint program type
2 years ago
Dmitry Savintsev e86392d422 Fix clippy issues in the generated code.
Fix template so that the generated code would not have any
clippy issues (per `cargo +nightly clippy`).
Add template conditionals on the program_type to avoid
a warning about unused 'opt' variable.

Fixes #66.
2 years ago
Michal Rostecki 70475f3b2a Add raw_tracepoint program type
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
Michal Rostecki 3ac1aa63ce
Merge pull request #64 from vadorovsky/update-deps
Update dependencies
2 years ago
Michal Rostecki 76699e10b2 Update dependencies
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago