Skip to content

Commit 16d0097

Browse files
TApplencourtclaude
andcommitted
gen: run yamlfmt on the event files this branch edits
These three predate the yamlfmt lint job and were never formatted. CI only lints CHANGED yaml, so editing them for the blob work is what makes them eligible -- the same way btx_tally_params.yaml surfaced. ze_events.yaml was already clean and stays clean. Pure reformatting: the parsed YAML is unchanged and all 49 generated files are byte-identical. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 29554ae commit 16d0097

3 files changed

Lines changed: 286 additions & 289 deletions

File tree

‎backends/cuda/cuda_events.yaml‎

Lines changed: 41 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,67 @@
1-
---
21
lttng_ust_cuda_args:
32
events:
43
- name: arg_count
54
args:
6-
- [ CUfunction, f ]
7-
- [ size_t, argCount ]
5+
- [CUfunction, f]
6+
- [size_t, argCount]
87
fields:
9-
- [ ctf_integer_hex, uintptr_t, f, "(uintptr_t)f" ]
10-
- [ ctf_integer, size_t, argCount, argCount ]
8+
- [ctf_integer_hex, uintptr_t, f, "(uintptr_t)f"]
9+
- [ctf_integer, size_t, argCount, argCount]
1110
- name: arg_value
1211
args:
13-
- [ CUfunction, f ]
14-
- [ size_t, argIndex ]
15-
- [ "void *", kernelParam ]
16-
- [ size_t, argSize ]
12+
- [CUfunction, f]
13+
- [size_t, argIndex]
14+
- ["void *", kernelParam]
15+
- [size_t, argSize]
1716
fields:
18-
- [ ctf_integer_hex, uintptr_t, f, "(uintptr_t)f" ]
19-
- [ ctf_integer, size_t, argIndex, argIndex ]
20-
- [ ctf_integer_hex, uintptr_t, kernelParam, "(uintptr_t)kernelParam" ]
21-
- [ lttng_ust_field_variable_length_blob, kernelParam_val, "(uint8_t *)kernelParam", size_t, "kernelParam ? argSize : 0" , "application/octet-stream"]
17+
- [ctf_integer_hex, uintptr_t, f, "(uintptr_t)f"]
18+
- [ctf_integer, size_t, argIndex, argIndex]
19+
- [ctf_integer_hex, uintptr_t, kernelParam, "(uintptr_t)kernelParam"]
20+
- [lttng_ust_field_variable_length_blob, kernelParam_val, "(uint8_t *)kernelParam", size_t, "kernelParam ? argSize : 0", "application/octet-stream"]
2221
lttng_ust_cuda_profiling:
2322
events:
2423
- name: event_profiling
2524
args:
26-
- [ CUevent, hStart ]
27-
- [ CUevent, hStop ]
25+
- [CUevent, hStart]
26+
- [CUevent, hStop]
2827
fields:
29-
- [ ctf_integer_hex, uintptr_t, hStart, "(uintptr_t)hStart" ]
30-
- [ ctf_integer_hex, uintptr_t, hStop, "(uintptr_t)hStop" ]
28+
- [ctf_integer_hex, uintptr_t, hStart, "(uintptr_t)hStart"]
29+
- [ctf_integer_hex, uintptr_t, hStop, "(uintptr_t)hStop"]
3130
- name: event_profiling_results
3231
args:
33-
- [ CUevent, hStart ]
34-
- [ CUevent, hStop ]
35-
- [ CUresult, startStatus ]
36-
- [ CUresult, stopStatus ]
37-
- [ CUresult, status ]
38-
- [ float, milliseconds ]
32+
- [CUevent, hStart]
33+
- [CUevent, hStop]
34+
- [CUresult, startStatus]
35+
- [CUresult, stopStatus]
36+
- [CUresult, status]
37+
- [float, milliseconds]
3938
fields:
40-
- [ ctf_integer_hex, uintptr_t, hStart, "(uintptr_t)hStart" ]
41-
- [ ctf_integer_hex, uintptr_t, hStop, "(uintptr_t)hStop" ]
42-
- [ ctf_integer, CUresult, startStatus, startStatus ]
43-
- [ ctf_integer, CUresult, stopStatus, stopStatus ]
44-
- [ ctf_integer, CUresult, status, status ]
45-
- [ ctf_float, float, milliseconds, milliseconds ]
39+
- [ctf_integer_hex, uintptr_t, hStart, "(uintptr_t)hStart"]
40+
- [ctf_integer_hex, uintptr_t, hStop, "(uintptr_t)hStop"]
41+
- [ctf_integer, CUresult, startStatus, startStatus]
42+
- [ctf_integer, CUresult, stopStatus, stopStatus]
43+
- [ctf_integer, CUresult, status, status]
44+
- [ctf_float, float, milliseconds, milliseconds]
4645
lttng_ust_cuda_exports:
4746
events:
4847
- name: export_called
4948
args:
50-
- [ CUuuid *, pExportTableId ]
51-
- [ size_t, exportOffset ]
49+
- [CUuuid *, pExportTableId]
50+
- [size_t, exportOffset]
5251
fields:
53-
- [ ctf_integer_hex, uintptr_t, pExportTableId, "(uintptr_t)pExportTableId" ]
54-
- [ ctf_integer_hex, size_t, exportOffset, exportOffset ]
55-
- [ lttng_ust_field_variable_length_blob, pExportTableId_val, pExportTableId, size_t, "sizeof(CUuuid)" , "application/octet-stream"]
52+
- [ctf_integer_hex, uintptr_t, pExportTableId, "(uintptr_t)pExportTableId"]
53+
- [ctf_integer_hex, size_t, exportOffset, exportOffset]
54+
- [lttng_ust_field_variable_length_blob, pExportTableId_val, pExportTableId, size_t, "sizeof(CUuuid)", "application/octet-stream"]
5655
lttng_ust_cuda_properties:
5756
events:
5857
- name: device
5958
args:
60-
- [ int, ordinal ]
61-
- [ CUdevice , device ]
62-
- [ char *, name ]
63-
- [ CUuuid *, uuid ]
59+
- [int, ordinal]
60+
- [CUdevice, device]
61+
- [char *, name]
62+
- [CUuuid *, uuid]
6463
fields:
65-
- [ ctf_integer, int, ordinal, ordinal ]
66-
- [ ctf_integer_hex, int, device, device ]
67-
- [ ctf_string, name, name ]
68-
- [ lttng_ust_field_variable_length_blob, uuid, uuid, size_t, "sizeof(CUuuid)" , "application/octet-stream"]
64+
- [ctf_integer, int, ordinal, ordinal]
65+
- [ctf_integer_hex, int, device, device]
66+
- [ctf_string, name, name]
67+
- [lttng_ust_field_variable_length_blob, uuid, uuid, size_t, "sizeof(CUuuid)", "application/octet-stream"]

0 commit comments

Comments
 (0)