mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 16:24:51 +00:00
stdlib: make linux.PERF.TYPE non-exhaustive
perf_event_attr.type needs to take a runtime defined value to enable dynamic PMU:s, such as kprobe and uprobe. This value can exceed predefined values defined in the linux headers. reference: perf_event_open(2) man page
This commit is contained in:
parent
3c3def6ac2
commit
a09a5ad574
@ -5513,6 +5513,7 @@ pub const PERF = struct {
|
||||
RAW,
|
||||
BREAKPOINT,
|
||||
MAX,
|
||||
_,
|
||||
};
|
||||
|
||||
pub const COUNT = struct {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user