| author | |
| committer | |
| log | a09a5ad574b8e85480645e0920d6cf4c7e850748 |
| tree | f6c22b9a42267829dd50dc04a417f50494cd7305 |
| parent | 3c3def6ac2b01cd2c78e296f328d67d064d73f15 |
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 page1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/os/linux.zig+1| ... | @@ -5513,6 +5513,7 @@ pub const PERF = struct { | ... | @@ -5513,6 +5513,7 @@ pub const PERF = struct { |
| 5513 | RAW, | 5513 | RAW, |
| 5514 | BREAKPOINT, | 5514 | BREAKPOINT, |
| 5515 | MAX, | 5515 | MAX, |
| 5516 | _, | ||
| 5516 | }; | 5517 | }; |
| 5517 | 5518 | ||
| 5518 | pub const COUNT = struct { | 5519 | pub const COUNT = struct { |