Skip to content

Merge dev to main - #104

Merged
Xenofon Foukas (xfoukas) merged 17 commits into
mainfrom
dev
Jun 2, 2025
Merged

Xenofon Foukas (xfoukas) merged 17 commits into
mainfrom
dev

Conversation

@xfoukas

Copy link
Copy Markdown
Collaborator

No description provided.

* Github action test

* Continue testing

* Continue testing

* Continue testing

* Continue testing

* Continue testing

* Continue testing

* Continue testing

* Continue testing

* Continue testing

* Continue testing

* Add missing .o

* Fix

* Revert "Add missing .o"

This reverts commit c95605c.

* Revert "Fix"

This reverts commit ff6b82b.

* Need to add dev
* Add Debug build configuration testing to CI pipeline

* Add Debug build configuration test to Docker pipeline

* fix: use JBPF_DEBUG environment variable instead of directly setting CMAKE_BUILD_TYPE

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Xenofon Foukas <[email protected]>
* Add helper function for fixed points

* Addressing the comments

* Revert

* Continued work

* Fix the algorithms and tests

* Minor tweaks

* Cleanup

* Avoid clang optimise the code

* Fix implementations

* Test fixed_to_float and fixed_to_double

* Fix type

* Add 2 more tests

* Cleanup

* Clang format inconsistent fix

* Add more tests in the codelet

Co-authored-by: Zhihua Lai <[email protected]>
This fixes issue #79. When the cmake build type is not defined it defaults to Release.
Given that the tests rely on assert() to pass, the PR also undefs NDEBUG in the release build flags to prevent the optimizer from removing the assert() calls.
* Improve log message of validation error in linked map

* Update message

* Fix

* Make message buffer larger
…ap (#88)

* Add a test to create the largest hashmap

* Clang

* Fix init value
* Add helper function for fixed points (#71)

* Add helper function for fixed points

* Addressing the comments

* Revert

* Continued work

* Fix the algorithms and tests

* Minor tweaks

* Cleanup

* Avoid clang optimise the code

* Fix implementations

* Test fixed_to_float and fixed_to_double

* Fix type

* Add 2 more tests

* Cleanup

* Clang format inconsistent fix

* Add more tests in the codelet

* Increase MAX_NUM_HOOKS from 64 to 128 (#90)

* Increase MAX_NUM_HOOKS from 64 to 96

* Increase MAX_NUM_HOOKS to 128

---------

Co-authored-by: Zhihua Lai <[email protected]>
…e. (#93)

* Refactor by using Smart Pointers

* Refactor
* Fix package error in ubtun22

* Cleanup & Fix

* --no-cache for docker build

* need git
* Add native support for ARM builds

* Update Dockerfiles to conditionally install gcc-multilib, which is not available on ARM
* Update examples Makefiles to include {platform}-linux-gnu
* Update approved libraries for ARM so
* Call jbpf_measure_{start|end}_time which only conditionally executes x86 asm based on detected platform
* Add section to README about supported architectures
* Exclude atomic tests on aarch64 and emit log about skipped tests. Test will fail because ubpf does not support atomics for aarch64.
* Made timing fixes for aarch64

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Xenofon Foukas <[email protected]>
Co-authored-by: Connor Settle <[email protected]>
Co-authored-by: Zhihua Lai <[email protected]>
This PR closes issue #101 .

It adds a check that prevents the log system to use an elapsed time of 0. It also adds a test to validate this functionality.
* Increase JBPF_MAX_CODELETS_IN_CODELETSET to 16

* Increase JBPF_MAX_LINKED_MAPS to 10

* Update tests following update of maximum linked maps

* Fix clang format

* Changes in test following increase of JBPF_MAX_CODELETS_IN_CODELETSET
* Remove ado correctness + move to cloud agents

* Add build badges

* Remove spaces

* Revert

* Build codelets in github action

* Remove unused headers

* Remove headers

* Add missing header

* Add sudo
Xenofon Foukas (xfoukas) and others added 2 commits June 2, 2025 08:27
* Add helper function for fixed points (#71)

* Add helper function for fixed points

* Addressing the comments

* Revert

* Continued work

* Fix the algorithms and tests

* Minor tweaks

* Cleanup

* Avoid clang optimise the code

* Fix implementations

* Test fixed_to_float and fixed_to_double

* Fix type

* Add 2 more tests

* Cleanup

* Clang format inconsistent fix

* Add more tests in the codelet

* Increase MAX_NUM_HOOKS from 64 to 128 (#90)

* Increase MAX_NUM_HOOKS from 64 to 96

* Increase MAX_NUM_HOOKS to 128

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: matthewbalkwill <[email protected]>
@xfoukas
Xenofon Foukas (xfoukas) merged commit eb7788b into main Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants