FD.io VPP
v17.07.01-10-g3be13f0
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | OrigFn |
Macros | |
#define | PLAT_amd64_linux 1 |
#define | VALGRIND_DO_CLIENT_REQUEST(_zzq_rlval, _zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) |
#define | VALGRIND_GET_NR_CONTEXT(_zzq_rlval) |
#define | VALGRIND_CALL_NOREDIR_RAX |
#define | VG_CONCAT4(_aa, _bb, _cc, _dd) _aa##_bb##_cc##_dd |
#define | I_WRAP_SONAME_FNNAME_ZU(soname, fnname) VG_CONCAT4(_vgwZU_,soname,_,fnname) |
#define | I_WRAP_SONAME_FNNAME_ZZ(soname, fnname) VG_CONCAT4(_vgwZZ_,soname,_,fnname) |
#define | VALGRIND_GET_ORIG_FN(_lval) VALGRIND_GET_NR_CONTEXT(_lval) |
#define | CALL_FN_v_v(fnptr) |
#define | CALL_FN_v_W(fnptr, arg1) |
#define | CALL_FN_v_WW(fnptr, arg1, arg2) |
#define | CALL_FN_v_WWW(fnptr, arg1, arg2, arg3) |
#define | CALL_FN_v_WWWW(fnptr, arg1, arg2, arg3, arg4) |
#define | CALL_FN_v_5W(fnptr, arg1, arg2, arg3, arg4, arg5) |
#define | CALL_FN_v_6W(fnptr, arg1, arg2, arg3, arg4, arg5, arg6) |
#define | CALL_FN_v_7W(fnptr, arg1, arg2, arg3, arg4, arg5, arg6, arg7) |
#define | CALL_FN_W_v(lval, orig) |
#define | CALL_FN_W_W(lval, orig, arg1) |
#define | CALL_FN_W_WW(lval, orig, arg1, arg2) |
#define | CALL_FN_W_WWW(lval, orig, arg1, arg2, arg3) |
#define | CALL_FN_W_WWWW(lval, orig, arg1, arg2, arg3, arg4) |
#define | CALL_FN_W_5W(lval, orig, arg1, arg2, arg3, arg4, arg5) |
#define | CALL_FN_W_6W(lval, orig, arg1, arg2, arg3, arg4, arg5, arg6) |
#define | CALL_FN_W_7W(lval, orig, arg1, arg2, arg3, arg4, arg5, arg6, arg7) |
#define | CALL_FN_W_8W(lval, orig, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) |
#define | CALL_FN_W_9W(lval, orig, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) |
#define | CALL_FN_W_10W(lval, orig, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) |
#define | CALL_FN_W_11W(lval, orig, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) |
#define | CALL_FN_W_12W(lval, orig, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) |
#define | VG_USERREQ_TOOL_BASE(a, b) ((unsigned int)(((a)&0xff) << 24 | ((b)&0xff) << 16)) |
#define | VG_IS_TOOL_USERREQ(a, b, v) (VG_USERREQ_TOOL_BASE(a,b) == ((v) & 0xffff0000)) |
#define | RUNNING_ON_VALGRIND |
#define | VALGRIND_DISCARD_TRANSLATIONS(_qzz_addr, _qzz_len) |
#define | VALGRIND_NON_SIMD_CALL0(_qyy_fn) |
#define | VALGRIND_NON_SIMD_CALL1(_qyy_fn, _qyy_arg1) |
#define | VALGRIND_NON_SIMD_CALL2(_qyy_fn, _qyy_arg1, _qyy_arg2) |
#define | VALGRIND_NON_SIMD_CALL3(_qyy_fn, _qyy_arg1, _qyy_arg2, _qyy_arg3) |
#define | VALGRIND_COUNT_ERRORS |
#define | VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) |
#define | VALGRIND_FREELIKE_BLOCK(addr, rzB) |
#define | VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) |
#define | VALGRIND_DESTROY_MEMPOOL(pool) |
#define | VALGRIND_MEMPOOL_ALLOC(pool, addr, size) |
#define | VALGRIND_MEMPOOL_FREE(pool, addr) |
#define | VALGRIND_MEMPOOL_TRIM(pool, addr, size) |
#define | VALGRIND_MOVE_MEMPOOL(poolA, poolB) |
#define | VALGRIND_MEMPOOL_CHANGE(pool, addrA, addrB, size) |
#define | VALGRIND_MEMPOOL_EXISTS(pool) |
#define | VALGRIND_STACK_REGISTER(start, end) |
#define | VALGRIND_STACK_DEREGISTER(id) |
#define | VALGRIND_STACK_CHANGE(id, start, end) |
#define | VALGRIND_LOAD_PDB_DEBUGINFO(fd, ptr, total_size, delta) |
Enumerations | |
enum | Vg_ClientRequest { VG_USERREQ__RUNNING_ON_VALGRIND = 0x1001, VG_USERREQ__DISCARD_TRANSLATIONS = 0x1002, VG_USERREQ__CLIENT_CALL0 = 0x1101, VG_USERREQ__CLIENT_CALL1 = 0x1102, VG_USERREQ__CLIENT_CALL2 = 0x1103, VG_USERREQ__CLIENT_CALL3 = 0x1104, VG_USERREQ__COUNT_ERRORS = 0x1201, VG_USERREQ__MALLOCLIKE_BLOCK = 0x1301, VG_USERREQ__FREELIKE_BLOCK = 0x1302, VG_USERREQ__CREATE_MEMPOOL = 0x1303, VG_USERREQ__DESTROY_MEMPOOL = 0x1304, VG_USERREQ__MEMPOOL_ALLOC = 0x1305, VG_USERREQ__MEMPOOL_FREE = 0x1306, VG_USERREQ__MEMPOOL_TRIM = 0x1307, VG_USERREQ__MOVE_MEMPOOL = 0x1308, VG_USERREQ__MEMPOOL_CHANGE = 0x1309, VG_USERREQ__MEMPOOL_EXISTS = 0x130a, VG_USERREQ__PRINTF = 0x1401, VG_USERREQ__PRINTF_BACKTRACE = 0x1402, VG_USERREQ__STACK_REGISTER = 0x1501, VG_USERREQ__STACK_DEREGISTER = 0x1502, VG_USERREQ__STACK_CHANGE = 0x1503, VG_USERREQ__LOAD_PDB_DEBUGINFO = 0x1601 } |
Functions | |
static int | VALGRIND_PRINTF (const char *format,...) |
static int | VALGRIND_PRINTF_BACKTRACE (const char *format,...) |
#define CALL_FN_v_5W | ( | fnptr, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5 | |||
) |
Definition at line 623 of file valgrind.h.
#define CALL_FN_v_6W | ( | fnptr, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6 | |||
) |
Definition at line 627 of file valgrind.h.
#define CALL_FN_v_7W | ( | fnptr, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7 | |||
) |
Definition at line 631 of file valgrind.h.
#define CALL_FN_v_v | ( | fnptr | ) |
Definition at line 603 of file valgrind.h.
#define CALL_FN_v_W | ( | fnptr, | |
arg1 | |||
) |
Definition at line 607 of file valgrind.h.
#define CALL_FN_v_WW | ( | fnptr, | |
arg1, | |||
arg2 | |||
) |
Definition at line 611 of file valgrind.h.
#define CALL_FN_v_WWW | ( | fnptr, | |
arg1, | |||
arg2, | |||
arg3 | |||
) |
Definition at line 615 of file valgrind.h.
#define CALL_FN_v_WWWW | ( | fnptr, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4 | |||
) |
Definition at line 619 of file valgrind.h.
#define CALL_FN_W_10W | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8, | |||
arg9, | |||
arg10 | |||
) |
Definition at line 1342 of file valgrind.h.
#define CALL_FN_W_11W | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8, | |||
arg9, | |||
arg10, | |||
arg11 | |||
) |
Definition at line 1382 of file valgrind.h.
#define CALL_FN_W_12W | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8, | |||
arg9, | |||
arg10, | |||
arg11, | |||
arg12 | |||
) |
Definition at line 1424 of file valgrind.h.
#define CALL_FN_W_5W | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5 | |||
) |
Definition at line 1176 of file valgrind.h.
#define CALL_FN_W_6W | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6 | |||
) |
Definition at line 1204 of file valgrind.h.
#define CALL_FN_W_7W | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7 | |||
) |
Definition at line 1234 of file valgrind.h.
#define CALL_FN_W_8W | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8 | |||
) |
Definition at line 1268 of file valgrind.h.
#define CALL_FN_W_9W | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8, | |||
arg9 | |||
) |
Definition at line 1304 of file valgrind.h.
#define CALL_FN_W_v | ( | lval, | |
orig | |||
) |
Definition at line 1066 of file valgrind.h.
#define CALL_FN_W_W | ( | lval, | |
orig, | |||
arg1 | |||
) |
Definition at line 1084 of file valgrind.h.
#define CALL_FN_W_WW | ( | lval, | |
orig, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 1104 of file valgrind.h.
#define CALL_FN_W_WWW | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3 | |||
) |
Definition at line 1126 of file valgrind.h.
#define CALL_FN_W_WWWW | ( | lval, | |
orig, | |||
arg1, | |||
arg2, | |||
arg3, | |||
arg4 | |||
) |
Definition at line 1150 of file valgrind.h.
#define I_WRAP_SONAME_FNNAME_ZU | ( | soname, | |
fnname | |||
) | VG_CONCAT4(_vgwZU_,soname,_,fnname) |
Definition at line 588 of file valgrind.h.
#define I_WRAP_SONAME_FNNAME_ZZ | ( | soname, | |
fnname | |||
) | VG_CONCAT4(_vgwZZ_,soname,_,fnname) |
Definition at line 591 of file valgrind.h.
#define PLAT_amd64_linux 1 |
Definition at line 107 of file valgrind.h.
#define RUNNING_ON_VALGRIND |
Definition at line 3662 of file valgrind.h.
#define VALGRIND_CALL_NOREDIR_RAX |
Definition at line 277 of file valgrind.h.
#define VALGRIND_COUNT_ERRORS |
Definition at line 3798 of file valgrind.h.
#define VALGRIND_CREATE_MEMPOOL | ( | pool, | |
rzB, | |||
is_zeroed | |||
) |
Definition at line 3914 of file valgrind.h.
#define VALGRIND_DESTROY_MEMPOOL | ( | pool | ) |
Definition at line 3922 of file valgrind.h.
#define VALGRIND_DISCARD_TRANSLATIONS | ( | _qzz_addr, | |
_qzz_len | |||
) |
Definition at line 3675 of file valgrind.h.
#define VALGRIND_DO_CLIENT_REQUEST | ( | _zzq_rlval, | |
_zzq_default, | |||
_zzq_request, | |||
_zzq_arg1, | |||
_zzq_arg2, | |||
_zzq_arg3, | |||
_zzq_arg4, | |||
_zzq_arg5 | |||
) |
Definition at line 243 of file valgrind.h.
#define VALGRIND_FREELIKE_BLOCK | ( | addr, | |
rzB | |||
) |
Definition at line 3905 of file valgrind.h.
#define VALGRIND_GET_NR_CONTEXT | ( | _zzq_rlval | ) |
Definition at line 264 of file valgrind.h.
#define VALGRIND_GET_ORIG_FN | ( | _lval | ) | VALGRIND_GET_NR_CONTEXT(_lval) |
Definition at line 598 of file valgrind.h.
#define VALGRIND_LOAD_PDB_DEBUGINFO | ( | fd, | |
ptr, | |||
total_size, | |||
delta | |||
) |
Definition at line 4007 of file valgrind.h.
#define VALGRIND_MALLOCLIKE_BLOCK | ( | addr, | |
sizeB, | |||
rzB, | |||
is_zeroed | |||
) |
Definition at line 3894 of file valgrind.h.
Definition at line 3930 of file valgrind.h.
#define VALGRIND_MEMPOOL_CHANGE | ( | pool, | |
addrA, | |||
addrB, | |||
size | |||
) |
Definition at line 3962 of file valgrind.h.
#define VALGRIND_MEMPOOL_EXISTS | ( | pool | ) |
Definition at line 3970 of file valgrind.h.
#define VALGRIND_MEMPOOL_FREE | ( | pool, | |
addr | |||
) |
Definition at line 3938 of file valgrind.h.
Definition at line 3946 of file valgrind.h.
#define VALGRIND_MOVE_MEMPOOL | ( | poolA, | |
poolB | |||
) |
Definition at line 3954 of file valgrind.h.
#define VALGRIND_NON_SIMD_CALL0 | ( | _qyy_fn | ) |
Definition at line 3753 of file valgrind.h.
#define VALGRIND_NON_SIMD_CALL1 | ( | _qyy_fn, | |
_qyy_arg1 | |||
) |
Definition at line 3763 of file valgrind.h.
#define VALGRIND_NON_SIMD_CALL2 | ( | _qyy_fn, | |
_qyy_arg1, | |||
_qyy_arg2 | |||
) |
Definition at line 3773 of file valgrind.h.
#define VALGRIND_NON_SIMD_CALL3 | ( | _qyy_fn, | |
_qyy_arg1, | |||
_qyy_arg2, | |||
_qyy_arg3 | |||
) |
Definition at line 3783 of file valgrind.h.
#define VALGRIND_STACK_CHANGE | ( | id, | |
start, | |||
end | |||
) |
Definition at line 3999 of file valgrind.h.
#define VALGRIND_STACK_DEREGISTER | ( | id | ) |
Definition at line 3991 of file valgrind.h.
#define VALGRIND_STACK_REGISTER | ( | start, | |
end | |||
) |
Definition at line 3980 of file valgrind.h.
#define VG_CONCAT4 | ( | _aa, | |
_bb, | |||
_cc, | |||
_dd | |||
) | _aa##_bb##_cc##_dd |
Definition at line 586 of file valgrind.h.
#define VG_IS_TOOL_USERREQ | ( | a, | |
b, | |||
v | |||
) | (VG_USERREQ_TOOL_BASE(a,b) == ((v) & 0xffff0000)) |
Definition at line 3601 of file valgrind.h.
Definition at line 3599 of file valgrind.h.
enum Vg_ClientRequest |
Definition at line 3608 of file valgrind.h.
|
static |
|
static |