core/sys/unix

unix

Types

14

Perf_Flag

Perf_Flag :: enum u64 { Disabled = 0, Inherit = 1, Pinned = 2, Exclusive = 3, Exclude_User = 4, Exclude_Kernel = 5, Exclude_HV = 6, Exclude_Idle = 7, mmap = 8, Comm = 9, Freq = 10, Inherit_Stat = 11, Enable_On_Exec = 12, Task = 13, Watermark = 14, Precise_IP_0 = 15, Precise_IP_1 = 16, mmap_Data = 17, Sample_Id_All = 18, Exclude_Host = 19, Exclude_Guest = 20, Exclude_Callchain_Kernel = 21, Exclude_Callchain_User = 22, mmap2 = 23, Comm_Exec = 24, Use_Clockid = 25, Context_Switch = 26, Write_Backward = 27, Namespaces = 28, KSymbol = 29, BPF_Event = 30, Aux_Output = 31, CGroup = 32, Text_Poke = 33, Build_Id = 34, Inherit_Thread = 35, Remove_On_Exec = 36, Sigtrap = 37, }Source

Perf_Hardware_Id

Perf_Hardware_Id :: enum u64 { CPU_Cycles = 0, Instructions = 1, Cache_References = 2, Cache_Misses = 3, Branch_Instructions = 4, Branch_Misses = 5, Bus_Cycles = 6, Stalled_Cycles_Frontend = 7, Stalled_Cycles_Backend = 8, Ref_CPU_Cycles = 9, }Source

Constants

410

Procedures

61

sys_utimensat

sys_utimensat :: proc(dfd: int, path: cstring, times: rawptr, flags: int) -> (int)Source

NOTE: Unsure about if this works directly on 32 bit archs. It may need 32 bit version of the time struct. As of Linux 5.1, there is a utimensat_time64 function. Maybe use this in the future?

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.