* Only run unit tests with AppVerifier in the nightly CI run.
* Run with appverif side by side.
* remove subsets of appverif checks
* more testing
* Remove Heaps, Leak check in AppVerifier for Debug PR builds.
---------
Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
* asan fix
* add to test yml
* cleanup
* try another way
* attempt again
* add for run_tests portions of yml
* add in one place only
* use same syntax as build yml
* Add perf workflow and fix CI concurrency.
* add missing permission
* missing permissions cont.
* add more fine-grained uniqueness
* add all jobs from scheduled runs
---------
Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
* Compress Km dumps and perf ETLs before upload.
* Force run on PR.
* run just perf test release
* print out etls before zip
* fix up etl path
* uncomment CI
* cleanup
---------
Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
* Diagnose failure to upload results to perf db
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Debug issue2898
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
---------
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
* Add new server 2022 and 2019 runners.
* rename runners and VMs
* Update old runners
* update perf runner label
---------
Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
* Add workflow to upload BPF performance results
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Run perf on PR
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Fix paths
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Add script to gather CSV from artifact
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Fix permissions
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Remove checking into git for now
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Update scripts
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Update scripts
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Skip perf upload for pull request
* PR feedback
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* PR feedback
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
---------
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
* test perf runner
* run perf test on PR push
* remove gh condition
* remove repo restriction
* add perf label in yml
* works, uncomment
* user perf label for all of bpf_performance tests
* restore event-triggered run behavior
---------
Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
* Run bpf_performance_runner on a scheduled run.
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Capture CPU profile
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Fix mandatory parameter
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Pass list of options for test mode
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Capture CPU profile
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Handle empty options parameter
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Switch to v0.0.2 of perf test and gather per test ETL
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Switch perf to scheduled run
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* PR feedback
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* PR feedback
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
---------
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
* build ebpfcore under usersim
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Work around analysis warnings
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Fix installer project
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Temporarily use ubpf branch with memory fix
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* WIP
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* WIP
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Create project for files shared between ebpfapi and the ebpf runtime
Move existing files from libs/platform either to:
* libs/shared, if meant to be common between user-mode and ebpf runtime
* libs/runtime, if meant to be used by the ebpf runtime only (whether in
user or kernel mode)
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Move ebpf_tracelog.c to shared
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Create shared_user and shared_kernel projects
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* WIP
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* WIP
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Remove usersim from ebpfsvc
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Update to cxplat branch of usersim
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Use cxplat_utf8_string
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Cleanup
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Fix build errors
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Fix ebpf_allocate_with_tag
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Fixes
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Bug fixes
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Fix use of ebpf_reallocate to not pass a null pointer
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Fix printf tests
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Fix memory leaks
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Temporary change to help debug double-free in test
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Update to latest usersim
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Fix analysis warnings
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Update to latest usersim
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Update usersim to latest
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Change native module to use latest usersim
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Update nuget package
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Only call cxplat_cleanup if cxplat_initialize succeeds
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
* Revert setup_build.vcxproj change
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Update usersim to latest
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
---------
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>