Skip to content

How to disable a program before spec.LoadAndAssign? #39629 #1811

Open
@Robin3Chan

Description

@Robin3Chan

I want to disable a kprobe program before LoadAndAssign, because some Linux kernel does not support the target kernel functions. Using libbpf, I can set autoload to "false". How could I disable the program with cilium?

bpf_program__set_autoload(obj->progs.my_test, false);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions