Skip to content

Helper function bpf_get_func_arg_cnt

v5.17

Definition

Copyright (c) 2015 The Libbpf Authors. All rights reserved.

Get number of registers of the traced function (for tracing programs) where function arguments are stored in these registers.

Returns

The number of argument registers of the traced function.

static long (* const bpf_get_func_arg_cnt)(void *ctx) = (void *) 185;

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