# Expanded std.os.linux perf-related definitions \(\#24264\) · gitcafe/zig

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

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

Visibility: public

Requested revision: b734d03340c0b120a7f6376000714b9765c5dbcc

Requested commit: b734d03340c0b120a7f6376000714b9765c5dbcc

Commit: b734d03340c0b120a7f6376000714b9765c5dbcc

Tree: b16ddfb64c7a6dfd128ceea13ab1fa1f79b14ecc

Author: Giuseppe Cesarano

Committer: GitHub

## Message

```
Expanded std.os.linux perf-related definitions (#24264)

* Added perf_event_header definition

* Added perf_event_mmap_page definition

* Removed default values for perf_event_header

* Fixed comments typos

* Updated perf_event_attr definition

* Explicit packet struct type

* PERF.RECORD from struct to enum

* fix typo: miscs to misc

* misc as packed struct

* cpu_mode as named enum

* Rescoping CPU_MODE
```

## Parents

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

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