bpf_helpers - add declaration for bpf_ktime_get_boot_ns()
Test: atest, TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I87f344c779d89cebe9a0d09dc466966ca7fda1a6
This commit is contained in:
parent
8ed7c0f9b9
commit
6b28299441
1 changed files with 1 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ static int (*bpf_map_delete_elem_unsafe)(const struct bpf_map_def* map,
|
|||
static int (*bpf_probe_read)(void* dst, int size, void* unsafe_ptr) = (void*) BPF_FUNC_probe_read;
|
||||
static int (*bpf_probe_read_str)(void* dst, int size, void* unsafe_ptr) = (void*) BPF_FUNC_probe_read_str;
|
||||
static unsigned long long (*bpf_ktime_get_ns)(void) = (void*) BPF_FUNC_ktime_get_ns;
|
||||
static unsigned long long (*bpf_ktime_get_boot_ns)(void) = (void*)BPF_FUNC_ktime_get_boot_ns;
|
||||
static int (*bpf_trace_printk)(const char* fmt, int fmt_size, ...) = (void*) BPF_FUNC_trace_printk;
|
||||
static unsigned long long (*bpf_get_current_pid_tgid)(void) = (void*) BPF_FUNC_get_current_pid_tgid;
|
||||
static unsigned long long (*bpf_get_current_uid_gid)(void) = (void*) BPF_FUNC_get_current_uid_gid;
|
||||
|
|
|
|||
Loading…
Reference in a new issue