forked from bpftrace/bpftrace
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Runtime test support for multi-line json output
bpftrace can output multiple lines of valid json instead of one large valid json blob. This adds test runner support to check multiple json lines. - Added a test for multiple map json output as an example. - Fixed a currently flakey test: histogram-finegrain Related issues: bpftrace#2902 bpftrace#3035
- Loading branch information
Jordan Rome
committed
Mar 19, 2024
1 parent
3b1e81c
commit c571ee9
Showing
4 changed files
with
70 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"type": "map", "data": { "@map1": { "key1": 2} }} | ||
{"type": "map", "data": { "@map2": { "key2": 3} }} |