#include <linux/compiler.h>
#include <linux/filter.h>
#include "probe-event.h"
#include <errno.h>
Go to the source code of this file.
|
static int | bpf__gen_prologue (struct probe_trace_arg *args __maybe_unused, int nargs __maybe_unused, struct bpf_insn *new_prog __maybe_unused, size_t *new_cnt, size_t cnt_space __maybe_unused) |
|
◆ BPF_PROLOGUE_FETCH_RESULT_REG
#define BPF_PROLOGUE_FETCH_RESULT_REG BPF_REG_2 |
◆ BPF_PROLOGUE_MAX_ARGS
#define BPF_PROLOGUE_MAX_ARGS 3 |
◆ BPF_PROLOGUE_START_ARG_REG
#define BPF_PROLOGUE_START_ARG_REG BPF_REG_3 |
◆ bpf__gen_prologue()
static int bpf__gen_prologue |
( |
struct probe_trace_arg *args |
__maybe_unused, |
|
|
int nargs |
__maybe_unused, |
|
|
struct bpf_insn *new_prog |
__maybe_unused, |
|
|
size_t * |
new_cnt, |
|
|
size_t cnt_space |
__maybe_unused |
|
) |
| |
|
inlinestatic |