Skip to content

KFunc bpf_session_is_return

v6.10

Check if the bpf program is executed from the exit probe of the kprobe multi link attached in wrapper mode.

Definition

Returns

Returns true if the bpf program is executed from the exit probe of the kprobe multi link attached in wrapper mode. It returns false otherwise.

bool bpf_session_is_return()

Usage

Docs could be improved

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

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

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