logging/Manager: Implement DelayTokenType as an actual opaque

With a bit of tweaking in the JavaScript plugin to support opaque types, this
will allow the delay functionality to work there, too.

Making the LogDelayToken an actual opaque seems reasonable, too. It's not
supposed to be user inspected.
This commit is contained in:
Arne Welzel 2023-11-27 18:18:08 +01:00
parent 2dbb467ba2
commit 5e046eee58
13 changed files with 130 additions and 32 deletions

View file

@ -0,0 +1 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.

View file

@ -0,0 +1,21 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
1362692526.869344, new_connection, CHhAvVGS1DHFjwGM9
1362692526.869344, log_stream_policy, LOG, CHhAvVGS1DHFjwGM9
token, <opaque of LogDelayTokenVal>
to_json(token), {"opaque_type":"LogDelayTokenVal"}
1362692526.869344, new_packet, 1
1362692526.939084, new_packet, 2
1362692526.939378, new_packet, 3
1362692526.939527, new_packet, 4
1362692527.008509, new_packet, 5
1362692527.009512, new_packet, 6
1362692527.009721, new_packet, 7
1362692527.009765, new_packet, 8
1362692527.009775, new_packet, 9
1362692527.009855, new_packet, 10
1362692527.009887, new_packet, 11
1362692527.011846, new_packet, 12
1362692527.080828, log_policy, CHhAvVGS1DHFjwGM9
1362692527.080828, new_packet, 13
1362692527.080972, new_packet, 14
1362692527.080972, Pcap::file_done

View file

@ -0,0 +1,3 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
ts|write_ts|uid|msg
1362692526.869344|1362692527.080828|CHhAvVGS1DHFjwGM9|inital-value