Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Dave Thaler 87b6520c34
Remove JIT and interpreter code from NativeOnly builds (#2475)
* Remove JIT and interpreter code from NativeOnly builds

Fixes #2030
Fixes #2488

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Try conditional project references

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Various test fixes

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Native-only fixes to deploy-ebpf.ps1

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Native-only support for setup-ebpf.ps1

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Native-only support for api_test.exe

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Add connect_redirect_tests to deploy-ebpf.ps1

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* PR feedback from Anurag

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

---------

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2023-06-07 15:49:03 +00:00
Sharmi 8adab0de10
stress test for tail calls (#2518)
* Add stress test for tail calls

* Added the code generated bindmonitor_mt_tailcall files

* Added the test case description to readme.md

* Update tests/stress/km/stress_tests_km.cpp

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Update tests/stress/km/stress_tests_km.cpp

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Addressed PR comments and Fixed merge conflicts with latest

* Fixed function name

* Regenerated the expected files, after the macro MAX TAIL CNT change done yesterday

* Update tests/stress/readme.md

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Removed clean_up tail call

* Add bind in loop

* updated the readme

* Addressed PR comments

* Changed LOG_VERBOSE to LOG_ERROR

* Updated readme and addressed PR comment

---------

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2023-06-07 05:21:47 +00:00
Alan Jowett 396412bc56
Add recursive tail call test (#2504)
* Add recursive tail call test

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Add sequential tail call test

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix code analysis failure

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Document workaround for bpf_helpers.h conflict

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

---------

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2023-05-24 20:01:01 +00:00
Gianni Trevisiol 4f41426bf1
Release v0.9.0 (#2425)
* Release 0.9.0

* nit newline
2023-05-03 03:17:59 +00:00
Dhiren Vispute c0e0804456
Ensure non-zero helper function count before using it in allocation computations. (#2393) 2023-05-02 00:50:34 +00:00
Alan Jowett 8b1a8e4e0f
Update NuGet packages (#2386)
Co-authored-by: Alan-Jowett <Alan-Jowett@users.noreply.github.com>
2023-04-28 15:57:08 +00:00
Dhiren Vispute 83567d6270
Add Multi-threaded stress tests (kernel mode). (#2240) 2023-04-25 21:00:44 +00:00
Gianni Trevisiol 8b016be1fd
Improve MSI UX, Wix project update (#2221)
* Reinforce installation policies.

* wip

* wip
2023-03-22 20:51:15 +00:00
Sharmi 282134fc34
Added cgroup_sock_addr2 related files to deploy-ebpf and Product.wxs script (#2193)
* Added cgroup_sock_addr2 related files to deploy script

* Added bpf2c_tests in wixproj file
2023-03-15 23:48:01 +00:00
Alan Jowett 14580fd5e3
Move extension definitions to their own file (#2172)
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2023-03-10 21:39:46 +00:00
Gianni Trevisiol 9f58bcb653
Release v0.7.0 (#2169)
* wip

* wip

* wip

* doc

* Fix bpftoc generation script
2023-03-09 18:44:06 +00:00
Gianni Trevisiol 9a2e8ee331
Sync msi's libbpf directory tree to nuget (#2149)
* draft

* include sync

* doc

* doc - release step

* remove pdb
2023-03-07 01:22:09 +00:00
Gianni Trevisiol 5f4a933f43
Complement artifacts in msi testing feature & PS deploy script's input. (#2088)
* Add testing artifacts, doc tweaks

* doc mods

* Add missing artifacts in deployment script.

* wip

* doc update

* Update docs/InstallEbpf.md

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

---------

Co-authored-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2023-02-22 01:34:44 +00:00
Gianni Trevisiol 7d6880ad54
Add missing libbpf includes. 2023-02-10 14:05:57 -08:00
Gianni Trevisiol 65997905b9
Add restricted SID to JIT+artifacts for api_tests (#2057)
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2023-02-09 19:15:17 +00:00
Gianni Trevisiol c3325dc961
Add Wix Toolset as a `nuget` package. 2023-02-07 21:55:35 +00:00
Gianni Trevisiol 64e6812784
Add JIT option for MSI Release bits and CI/CD. (#1986) 2023-01-31 10:03:20 -08:00
Gianni Trevisiol 83ddc74d1d
Fix eBPF store clear/setup and add logs to `export_program_info.exe` (#1975)
* fix ebpf store & tool logs

* bare vm pass
2023-01-30 07:53:19 -08:00
Gianni Trevisiol 715715520c
Added Wix installer native project. (#1960)
* Added Wix native installer.

* Update docs/InstallEbpf.md

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Update docs/InstallEbpf.md

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* typos

* Change ebpfsvc as a "JIT" option for Debug-only.

* misc fixes and improvements

* fix env path

* upload the msi package as a separate artifact

* fix sample driver uninstall, added log doc

* tests passed

* Doc update

* conditional MSI upload for regular/release only

* Upload dual installer version

* Set all drivers to auto start.

* update hash in doc

* Add check for VC++ redist

* doc update

* workaround for WixQuietExec64

* doc update

* Update scripts/run_tests.bat

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2023-01-26 21:25:23 -08:00