Commit 5706d2a
authored
feat(new transform): Introduce WASM Plugins (#2006)
* Add wip
Signed-off-by: Ana Hobden <[email protected]>
* wip
Signed-off-by: Ana Hobden <[email protected]>
* wip
Signed-off-by: Ana Hobden <[email protected]>
* WIP
Signed-off-by: Ana Hobden <[email protected]>
* Fix bindings
Signed-off-by: Ana Hobden <[email protected]>
* Integrate Make task
Signed-off-by: Ana Hobden <[email protected]>
* Remove old cruft
Signed-off-by: Ana Hobden <[email protected]>
* More refinements to rfc
Signed-off-by: Ana Hobden <[email protected]>
* Get function passing working
Signed-off-by: Ana Hobden <[email protected]>
* Tracing and proper FFI strings
Signed-off-by: Ana Hobden <[email protected]>
* Wip
Signed-off-by: Ana Hobden <[email protected]>
* 🚀
Signed-off-by: Ana Hobden <[email protected]>
* More RFC notes
Signed-off-by: Ana Hobden <[email protected]>
* Format wasm rfc
Signed-off-by: Ana Hobden <[email protected]>
* Add API notes
Signed-off-by: Ana Hobden <[email protected]>
* Write more of the RFC
Signed-off-by: Ana Hobden <[email protected]>
* Add plan of attack and platform support
Signed-off-by: Ana Hobden <[email protected]>
* Minor fixes.
Signed-off-by: Ana Hobden <[email protected]>
* Command line test passes
Signed-off-by: Ana Hobden <[email protected]>
* Extract foreign module APIs.
Signed-off-by: Ana Hobden <[email protected]>
* Do some documentation.
Signed-off-by: Ana Hobden <[email protected]>
* More RFC writing
Signed-off-by: Ana Hobden <[email protected]>
* Cleanup and RFC updating.
Signed-off-by: Ana Hobden <[email protected]>
* Checkpoint
Signed-off-by: Ana Hobden <[email protected]>
* Passing a Raw registration up works
Signed-off-by: Ana Hobden <[email protected]>
* Update RFC to reflect new simpler APIs.
Signed-off-by: Ana Hobden <[email protected]>
* Various cleaning of structure.
Signed-off-by: Ana Hobden <[email protected]>
* Some refining on docs and roles
Signed-off-by: Ana Hobden <[email protected]>
* Some new events
Signed-off-by: Ana Hobden <[email protected]>
* Remove RFC present in other PR
Signed-off-by: Ana Hobden <[email protected]>
* Fix release builds and add new metric
Signed-off-by: Ana Hobden <[email protected]>
* Rename somethings
Signed-off-by: Ana Hobden <[email protected]>
* Caching and fingerprinting works now.
Signed-off-by: Ana Hobden <[email protected]>
* Add benchmark for wasm protobuf
Signed-off-by: Ana Hobden <[email protected]>
* Add noop bench
Signed-off-by: Ana Hobden <[email protected]>
* Add wasm CI
Signed-off-by: Ana Hobden <[email protected]>
* Update lockfile
Signed-off-by: Ana Hobden <[email protected]>
* Clean up make jobs, benching
Signed-off-by: Ana Hobden <[email protected]>
* Fixup make jobs
Signed-off-by: Ana Hobden <[email protected]>
* Use WATS
Signed-off-by: Ana Hobden <[email protected]>
* Figure out less hazardous memory management (demo)
Signed-off-by: Ana Hobden <[email protected]>
* Responsible memory management
Signed-off-by: Ana Hobden <[email protected]>
* process takes pointer/len, emit works
Signed-off-by: Ana Hobden <[email protected]>
* Better benchmarks
Signed-off-by: Ana Hobden <[email protected]>
* Add docs
* Fixup nits.
Signed-off-by: Ana Hobden <[email protected]>
* Add website files
Signed-off-by: Ana Hobden <[email protected]>
* Rework registration.
Signed-off-by: Ana Hobden <[email protected]>
* Some refining of the protobuf transform and tests.
Signed-off-by: Ana Hobden <[email protected]>
* Fixup benches.
Signed-off-by: Ana Hobden <[email protected]>
* Make emit more flexible.
Signed-off-by: Ana Hobden <[email protected]>
* Add tests for other mods
Signed-off-by: Ana Hobden <[email protected]>
* Add transform changes
Signed-off-by: Ana Hobden <[email protected]>
* Add error handling
Signed-off-by: Ana Hobden <[email protected]>
* Add panic handling
Signed-off-by: Ana Hobden <[email protected]>
* No more stale wats
Signed-off-by: Ana Hobden <[email protected]>
* wasm interop exposed and more protobuf guide
Signed-off-by: Ana Hobden <[email protected]>
* Clean up
Signed-off-by: Ana Hobden <[email protected]>
* Various small fixes
Signed-off-by: Ana Hobden <[email protected]>
* Add cached metric to compilation event
Signed-off-by: Ana Hobden <[email protected]>
* Clean up test spans
* More robust protobuf
Signed-off-by: Ana Hobden <[email protected]>
* Add options calls to WASM modules.
Signed-off-by: Ana Hobden <[email protected]>
* checkpoint
Signed-off-by: Ana Hobden <[email protected]>
* Improve fingerprinter.
Signed-off-by: Ana Hobden <[email protected]>
* Add wasm-timings feature
Signed-off-by: Ana Hobden <[email protected]>
* Add assert config
Signed-off-by: Ana Hobden <[email protected]>
* Extract fingerprint and artifact cache.
Signed-off-by: Ana Hobden <[email protected]>
* Remove protobuf guide.
Signed-off-by: Ana Hobden <[email protected]>
* Make things much more safe.
Signed-off-by: Ana Hobden <[email protected]>
* Fix a whole swack of integer sizing issues.
Signed-off-by: Ana Hobden <[email protected]>
* Update to git master lucet
Signed-off-by: Ana Hobden <[email protected]>
* Add nix env
Signed-off-by: Ana Hobden <[email protected]>
* Update lucet/tracing
Signed-off-by: Ana Hobden <[email protected]>
* Note we support wat as well
Signed-off-by: Ana Hobden <[email protected]>
* Raise some debug to info
Signed-off-by: Ana Hobden <[email protected]>
* fmt
Signed-off-by: Ana Hobden <[email protected]>
* Add artifact_cache knob
Signed-off-by: Ana Hobden <[email protected]>
* Remove WATs
Signed-off-by: Ana Hobden <[email protected]>
* Clean up formatting and some clippy lints
Signed-off-by: Ana Hobden <[email protected]>
* Fixup features in benches
Signed-off-by: Ana Hobden <[email protected]>
* Checker now needs cmake
Signed-off-by: Ana Hobden <[email protected]>
* Fmt
Signed-off-by: Ana Hobden <[email protected]>
* Fixup bench features
Signed-off-by: Ana Hobden <[email protected]>
* Add OS support to transforms on website
Signed-off-by: Ana Hobden <[email protected]>
* Wasm doesn't need wabt anymore
Signed-off-by: Ana Hobden <[email protected]>
* Fixup CI
Signed-off-by: Ana Hobden <[email protected]>
* Remove bench features haha
Signed-off-by: Ana Hobden <[email protected]>
* Correct lib authors
Signed-off-by: Ana Hobden <[email protected]>
* Yank utf-8 handling change
Signed-off-by: Ana Hobden <[email protected]>
* generate
Signed-off-by: Ana Hobden <[email protected]>
* Decouple wasm modules from workspace
Signed-off-by: Ana Hobden <[email protected]>1 parent 6137b3d commit 5706d2a
File tree
105 files changed
+4214
-58
lines changed- .cargo
- .github
- workflows
- .meta
- .schemas
- transforms
- benches
- config
- lib
- codec
- file-source
- tracing-limit
- vector-wasm
- src
- scripts
- ci-docker-images/checker
- environment
- generate/templates/_partials
- src
- internal_events
- wasm
- transforms
- wasm
- hostcall
- tests/data/wasm
- add_fields
- fixtures/a
- src
- assert_config
- fixtures/a
- src
- drop
- fixtures/a
- src
- panic
- fixtures/a
- src
- protobuf
- fixtures
- happy
- sad
- protos
- src
- website
- docs
- reference/transforms
- setup/installation/manual
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
105 files changed
+4214
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
375 | 378 | | |
376 | 379 | | |
377 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
218 | 227 | | |
219 | 228 | | |
220 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
659 | 667 | | |
660 | 668 | | |
661 | 669 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments