---
title: btfgen
sidebar_position: 30
---

The btfgen operator loads the BTF files present on the [btfgen
layer](../oci.md#the-btfgen-layer) according to the kernel version of
the host machine to be sure gadgets work even on machines without BTF
information. Check our [BTFGen: One Step Closer to Truly Portable eBPF
Programs](https://www.inspektor-gadget.io/blog/2022/03/btfgen-one-step-closer-to-truly-portable-ebpf-programs/)
to know more details about it.

## Parameters

None
