# stdlib: make linux.PERF.TYPE non-exhaustive · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/a09a5ad574b8e85480645e0920d6cf4c7e850748)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: a09a5ad574b8e85480645e0920d6cf4c7e850748

Requested commit: a09a5ad574b8e85480645e0920d6cf4c7e850748

Commit: a09a5ad574b8e85480645e0920d6cf4c7e850748

Tree: f6c22b9a42267829dd50dc04a417f50494cd7305

Author: Björn Linse

Committer: Andrew Kelley

## Message

```
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

```

## Parents

- [3c3def6ac2b01cd2c78e296f328d67d064d73f15](https://git.cafe/gitcafe/zig/commit/3c3def6ac2b01cd2c78e296f328d67d064d73f15?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/a09a5ad574b8e85480645e0920d6cf4c7e850748?format=markdown)
