On Sat, Aug 1, 2020 at 10:04 AM Jiri Olsa wrote:
>
> Adding btf_struct_walk function that walks through the
> struct type + given offset and returns following values:
>
> enum bpf_struct_walk_result {
>/* < 0 error */
>WALK_SCALAR = 0,
>WALK_PTR,
>WALK_STRUCT,
>
Adding btf_struct_walk function that walks through the
struct type + given offset and returns following values:
enum bpf_struct_walk_result {
/* < 0 error */
WALK_SCALAR = 0,
WALK_PTR,
WALK_STRUCT,
};
WALK_SCALAR - when SCALAR_VALUE is found
WALK_PTR- when poin