Skip to content

Libbpf userspace function btf__set_fd

0.1.0

Set the file descriptor of the BTF object.

Definition

void btf__set_fd(struct btf *btf, int fd);

Parameters

  • btf: BTF object
  • fd: File descriptor of a loaded BTF object

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome