Commit Graph

212 Commits

Author SHA1 Message Date
Brian Martin 52e29c6661
update readme and prepare for release 0.0.34 (#199)
Update the readme and changelog to prepare for release 0.0.34
2023-10-25 13:00:32 -07:00
Phoenix 639ceadfb1
fix #190 (#197)
Fixes #190 by using from_be to convert the network byte order to the host byte order

Signed-off-by: Jiawei Zhao <phoenix500526@163.com>
2023-02-03 17:40:24 -08:00
Brian Martin 5870dd2f32
begin next development iteration (#196)
Increment version number for next development iteration.
2022-09-19 10:41:36 -07:00
Brian Martin 0e9c553df8
prepare for release 0.0.33 (#195)
Update changelog and prepare for release.
2022-09-09 11:48:56 -07:00
Brian Martin 677aad84f8
fix #192 (#194)
Fixes #192 by changing `Table::new()` to be crate public only. Addresses various issues that prevented CI from passing.
2022-09-06 15:41:35 -07:00
jrester afad5da8f4
Add support for attaching a BPF program to a socket (#191)
This adds support for attach_raw_socket. The changes are similiar to the one from #180 but this time in a more usable manner by only exposing the underlying sockets via socket2::Socket.
2022-09-06 13:45:22 -07:00
Rust Plumber 0e6fe2f7de
adds support to dump bpf program (#181)
Adds support to dump bpf program instructions.
2022-04-15 10:00:51 -07:00
Brian Martin 0147414e53
begin next development iteration (#189)
Increment version number for next development iteration.

Fix link in changelog
2021-11-24 14:50:34 -08:00
Brian Martin 777aed27c9
prepare for release 0.0.32 (#188)
Update changelog and bump version number for release 0.0.32
2021-11-24 14:16:12 -08:00
Brian Martin 6ee2d986fe
add bcc 0.23.0 to ci (#187)
Adds a ci run with bcc 0.23.0
2021-11-24 13:33:24 -08:00
Brian Martin fbbeecaf86
add support for bcc 0.22.0 and 0.23.0 (#186)
Adds support for bcc 0.22.0 and 0.23.0
2021-11-23 15:09:39 -08:00
Brian Martin 683fa0aecd
add support for bcc 0.21.0 (#185)
Adds support for bcc 0.21.0
2021-11-23 13:39:07 -08:00
Brian Martin b6e987446e
add support for bcc 0.20.0 (#184)
Adds support for bcc 0.20.0
2021-11-23 08:18:07 -08:00
Brian Martin 435833dd53
update dependencies (#183)
Updates dependencies to latest versions.

Removes chrono dependency and replaces it with time.
2021-11-22 14:08:53 -08:00
Brian Martin 2a07d9dddc
add support for bcc 0.19.0 (#178)
Adds support for bcc 0.19.0
2021-11-22 11:42:28 -08:00
Jörg Thalheim f456aa57cd
remove regex dependency (#179)
Replaces the use of regex with string methods, reducing dependencies and build times.
2021-06-29 14:51:38 -07:00
Ivan Velichko 3bc672cd39
build/ci.sh - add missing dependencies and make it slightly more user-friendly (#176)
Improvements to ci build script which make it friendlier for local builds.
2021-04-07 09:51:51 -07:00
Brian Martin 89b5cfb582
begin next development iteration (#173)
Begin next development iteration
2021-04-06 11:52:53 -07:00
Brian Martin 0b84015a20
prepare for release 0.0.31 (#172)
Update changelog and prepare for release 0.0.31
2021-03-30 10:55:49 -07:00
Toby Lawrence 1be868c90f
Add USDT support. (#171)
Adds User Statically-Defined Tracing (USDT) support
2021-03-29 11:21:00 -07:00
Brian Martin 77e02e6c98
Adds support for creating raw perf events (#168)
Adds a Event::Raw variant that captures the fields necessary for
creating the event configuration. This allows us to use Rust + BPF
to instrument architecture specific events.
2021-03-24 11:15:01 -07:00
Connor ed356de362
replace ptr::read with ptr::read_unaligned (#170)
Replace ptr::read() with read_unaligned() in examples
2021-03-23 13:29:44 -07:00
Brian Martin f28fa173f8
begin next development iteration (#165)
Increment version number for next development iteration.
2020-11-23 10:31:56 -08:00
Brian Martin 3fe3bea36c
prepare for release 0.30.0 (#164)
Update changelog and increment version number for release 0.30.0
2020-11-23 09:40:58 -08:00
Pu Wang 676640328b
support ring buffer (#160)
Adds support for BPF ring buffers.
2020-11-20 13:19:14 -08:00
Brian Martin 976d887c4e
add support for bcc 0.17.0 (#161)
Adds support for BCC 0.17.0 and makes it the new default version.
2020-11-06 10:22:25 -08:00
Brian Martin b28c464813
update dependencies (#159)
Update dependencies to pull-in bugfixes and BPF ring buffer
support.

Fixes warning around deprecated function.
2020-11-04 14:02:51 -08:00
Ricardo Delfin 77b99f2b20
Updated biosnoop and opensnoop examples to use PerfMapBuilder (#158)
Updates examples to use builder pattern for PerfMap initialization.
2020-10-27 21:04:42 -07:00
Brian Martin 5828af4c9b
deprecate init_perf_map function (#156)
Add deprecation to the init_perf_map function as per #142. We will
remove this function, not before 0.0.33 or at least 3 months from
the release of 0.0.30
2020-10-20 16:22:02 -07:00
Brian Martin f93533f126
begin next development iteration (#155)
Increment version number to begin next development iteration
2020-10-20 15:22:27 -07:00
Brian Martin 1d475f819e
prepare for release 0.0.29 (#154)
Update changelog and increment version for release.
2020-10-20 12:28:05 -07:00
Brian Martin cde6f6e699
fix ci failures (#153)
Fix ci failures by making sure gtk is uninstalled.
2020-10-20 11:19:33 -07:00
Jerome Boisvert-Chouinard 726cdf180e
Get correct prefix for get_syscall_fnname (#152)
Fixes get_syscall_fnname to return the correct prefixed function name.
2020-10-19 12:46:21 -07:00
Brian Martin 054624a0cf
begin next development iteration (#151)
Increment version number for next development iteration.
2020-10-07 08:50:47 -07:00
Brian Martin 100734ead9
prepare for release 0.0.28 (#150)
Update changelog and increment version number for release 0.0.28
2020-10-06 14:31:52 -07:00
Javier Honduvilla Coto 4568e7f6da
Pass debug flags to rest of BPF loading methods (#149)
Adds passing of debug level to remaining BPF loading methods.

Changes return type in builder for setting debug level.

Fixes small style issues.
2020-10-02 07:45:56 -07:00
Brian Martin b3c179e860
begin next development iteration (#148)
Increment version number for next development iteration
2020-10-02 07:40:09 -07:00
Brian Martin 55f5f61136
prepare for release 0.0.27 (#147)
Update changelog and incremenet version for release.
2020-10-01 10:04:42 -07:00
Ifeanyi Ubah dd7855f318
Add XDP support (#145)
Adds API support for running XDP programs and ports
the drop example from python bcc.
2020-09-30 13:35:03 -07:00
Javier Honduvilla Coto c4e5ef8356
Add load_func support and allow setting the debug level (#144)
Adds support for loading BPF programs via load_func, which is used in BPF tail-calls programs. It also adds support to set BCC debug level.
2020-09-30 11:09:48 -07:00
Brian Martin 04875a93cc
prepare for release 0.0.26 (#143)
Update changelog and increment version number for release 0.0.26
2020-09-23 12:03:11 -07:00
Adam Jensen a5547c8fe7
Fix name collisions between uprobe and uretprobe (#141)
Fix name collisions between uprobe and uretprobe which would occur when the same symbol is used for both a uprobe and uretprobe.
2020-09-22 19:55:28 -07:00
Brian Martin 5b5b9edbb4
begin next development iteration (#140)
Increment version number for next development iteration
2020-09-15 10:32:57 -07:00
Brian Martin b6af727b4c
prepare for release 0.0.25 (#139)
Update changelog and increment version for release 0.0.25
2020-09-15 10:30:18 -07:00
Adam Jensen 8cca2e3c9b
Improve error handling and reporting (#138)
Improve error handling by including additional error messaging when available. Cleans up cstring conversion unwraps by bubbling errors up.
2020-09-15 08:52:29 -07:00
Brian Martin 2dd6e49932
add support for bcc 0.16.0 (#137)
Update bcc-sys and add support for bcc 0.16.0
2020-09-14 14:36:23 -07:00
Javier Honduvilla Coto 0a4e3a0aec
Run tests under Valgrind to detect memory issues (#133)
Adds Valgrind to CI runs to help detect memory issues and prevent bugs.
2020-09-10 15:19:21 -07:00
Javier Honduvilla Coto 230c75cdb8
Run BCC's build in parallel (#135)
Increase BCC parallel build threads to 2. Improves CI speed by ~30%
2020-09-09 18:55:50 -07:00
Jacob Kiesel 881809ef6c
Use corrrect char type, permits building on aarch64 (#131)
Swaps out an i8 for the correct c_char type.
2020-09-09 07:59:30 -07:00
Javier Honduvilla Coto 031a94c0e8
Pass cflags as a pointer of pointers (#132)
In #130 the cflags array changed from being a pointer to a contiguous array of pointers to chars *mut *const c_char, to being a pointer to a list of CStrings, which cause invalid memory reads.
2020-09-09 07:58:11 -07:00