Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

PERF_EVENT

Public Struct
std.c.serenity.PERF_EVENT
pub const PERF_EVENT = packed struct(c_int)

Fields

SAMPLE: bool = false
MALLOC: bool = false
FREE: bool = false
MMAP: bool = false
MUNMAP: bool = false
PROCESS_CREATE: bool = false
PROCESS_EXEC: bool = false
PROCESS_EXIT: bool = false
THREAD_CREATE: bool = false
THREAD_EXIT: bool = false
CONTEXT_SWITCH: bool = false
KMALLOC: bool = false
KFREE: bool = false
PAGE_FAULT: bool = false
SYSCALL: bool = false
SIGNPOST: bool = false
FILESYSTEM: bool = false

File

c/serenity.zig:28
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
pub const PERF_EVENT = packed struct(c_int) {
    SAMPLE: bool = false,
    MALLOC: bool = false,
    FREE: bool = false,
    MMAP: bool = false,
    MUNMAP: bool = false,
    PROCESS_CREATE: bool = false,
    PROCESS_EXEC: bool = false,
    PROCESS_EXIT: bool = false,
    THREAD_CREATE: bool = false,
    THREAD_EXIT: bool = false,
    CONTEXT_SWITCH: bool = false,
    KMALLOC: bool = false,
    KFREE: bool = false,
    PAGE_FAULT: bool = false,
    SYSCALL: bool = false,
    SIGNPOST: bool = false,
    FILESYSTEM: bool = false,
}