Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBTF ¶
GenerateBTF generates a BTF file from a vmlinux file
Types ¶
type BTFGenerationJob ¶
func (*BTFGenerationJob) Do ¶
func (job *BTFGenerationJob) Do(ctx context.Context) error
Do implements the Job interface, and is called by the worker. It generates a BTF file from a vmlinux file, compresses it into a .tar.xz file, and removes the vmlinux file.
func (*BTFGenerationJob) Reply ¶
func (job *BTFGenerationJob) Reply() chan<- interface{}
type KernelExtractionJob ¶
type KernelExtractionJob struct { Pkg pkg.Package WorkDir string ReplyChan chan interface{} Force bool }
func (*KernelExtractionJob) Do ¶
func (job *KernelExtractionJob) Do(ctx context.Context) error
Do implements the Job interface, and is called by the worker. It downloads the kernel package, extracts the vmlinux file, and replies with the path to the vmlinux file in the reply channel.
func (*KernelExtractionJob) Reply ¶
func (job *KernelExtractionJob) Reply() chan<- interface{}
Click to show internal directories.
Click to hide internal directories.