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

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

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

Visibility: public

Requested revision: 95f989a05b4da66790c03f68c99b9fe684fff1ab

Requested commit: 95f989a05b4da66790c03f68c99b9fe684fff1ab

Commit: 95f989a05b4da66790c03f68c99b9fe684fff1ab

Tree: b0a1b89a9620d7b3874ded66b6ef32bd0a8f3764

Author: bfredl

Committer: Veikka Tuominen

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

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

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