1FUNCTION::REGPARM(3stap)       Context Functions      FUNCTION::REGPARM(3stap)
2
3
4

NAME

6       function::regparm - Specify regparm value used to compile function
7

SYNOPSIS

9           regparm(n:long)
10

ARGUMENTS

12       n
13           original regparm value
14

DESCRIPTION

16       Call this function with argument n before accessing function arguments
17       using the *_arg function is the function was build with the gcc
18       -mregparm=n option.
19
20       (The i386 kernel is built with \-mregparm=3, so systemtap considers
21       regparm(3) the default for kernel functions on that architecture.) Only
22       valid on i386 and x86_64 (when probing 32bit applications). Produces an
23       error on other architectures.
24

SEE ALSO

26       tapset::registers(3stap)
27
28
29
30SystemTap Tapset Reference         May 2019           FUNCTION::REGPARM(3stap)
Impressum