We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70b7434 commit af59309Copy full SHA for af59309
1 file changed
preciceprofiling/common.py
@@ -259,6 +259,13 @@ def groupFor(name):
259
entry.name = name
260
pkt.sequence_flags = TracePacket.SEQ_NEEDS_INCREMENTAL_STATE
261
262
+ # add data
263
+ if e.data:
264
+ for key, value in json.loads(e.data).items():
265
+ annotation = pkt.track_event.debug_annotations.add()
266
+ annotation.name = key
267
+ annotation.int_value = value
268
+
269
# end leftover events
270
for a in active:
271
pkt = builder.add_packet()
0 commit comments