Skip to content

bpf2go: emit structs.HostLayout into generated structs #1686

Open
@lmb

Description

@lmb

We recently made a change to make sure our syscall wrappers continue to work on future versions of go, see #1681. Timo points out that we should do the same for bpf2go:

          Looks good, thanks! We should probably also emit these in bpf2go types.

Originally posted by @ti-mo in #1681 (review)

I think it might make sense to just update GoFormatter to always include HostLayout in structs instead of the hack I did for gentypes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions