aboutsummaryrefslogtreecommitdiff
path: root/core/sys/linux
diff options
context:
space:
mode:
authorflga <flga@users.noreply.github.com>2023-11-10 19:41:01 +0000
committerflga <flga@users.noreply.github.com>2023-11-10 19:41:01 +0000
commit5a8da5dcdb36e3ef37853ba571b84603c7bd9f96 (patch)
treee1f2415e4b8711d7d91a86b67fe26eb856e670ec /core/sys/linux
parent6de2b7700fc646f67668febd814a8712a50b609e (diff)
core:sys/linux: rename Perf_Read_Format_Flags
Diffstat (limited to 'core/sys/linux')
-rw-r--r--core/sys/linux/types.odin5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/sys/linux/types.odin b/core/sys/linux/types.odin
index 308b77aee..afa7faf33 100644
--- a/core/sys/linux/types.odin
+++ b/core/sys/linux/types.odin
@@ -282,7 +282,8 @@ Get_Random_Flags :: bit_set[Get_Random_Flags_Bits; i32]
Perf_Flags :: bit_set[Perf_Flags_Bits; uint]
Perf_Event_Flags :: distinct bit_set[Perf_Event_Flags_Bits; u64]
-Perf_Read_Format_Flags :: distinct bit_set[Perf_Read_Format_Bits; u64]
+
+Perf_Read_Format :: distinct bit_set[Perf_Read_Format_Bits; u64]
Perf_Cap_Flags :: distinct bit_set[Perf_Cap_Flags_Bits; u64]
@@ -306,7 +307,7 @@ Perf_Event_Attr :: struct #packed {
frequency: u64,
},
sample_type: Perf_Event_Sample_Type,
- read_format: Perf_Read_Format_Flags,
+ read_format: Perf_Read_Format,
flags: Perf_Event_Flags,
wakeup: struct #raw_union {
events: u32,