# Fixes to linux/bpf/btf.zig · gitcafe/zig

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

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

Visibility: public

Requested revision: a0dd11c479a93a32cdaad4a5aca69c1021d6b195

Requested commit: a0dd11c479a93a32cdaad4a5aca69c1021d6b195

Commit: a0dd11c479a93a32cdaad4a5aca69c1021d6b195

Tree: f11ae4dd0d98fa97945b254c32df281ed7264e44

Author: bfredl

Committer: Andrew Kelley

## Message

```
Fixes to linux/bpf/btf.zig

- the meaning of packed structs changed in zig 0.10. adjust accordingly.
  Use "extern struct" for the cases that directly map to C structs.

- Add new type info kinds, like enum64 and DeclTag

- change the Type enum to use the canonical names from libbpf.
  This is more predictable when comparing with external BPF
  documentation (than invented synonyms that need to be guessed)

```

## Parents

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

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