Helper function bpf_get_func_arg
Definition
Copyright (c) 2015 The Libbpf Authors. All rights reserved.
Get n-th argument register (zero based) of the traced function (for tracing programs) returned in value.
Returns
0 on success. -EINVAL if n >= argument register count of traced function.
static long (* const bpf_get_func_arg)(void *ctx, __u32 n, __u64 *value) = (void *) 183;
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Program types
This helper call can be used in the following program types:
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome