FUNCTION::REGPARM

Section: Context Functions (3stap)
Updated: March 2014
Index Return to Main Contents
 

NAME

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

SYNOPSIS

    regparm(n:long)
 

ARGUMENTS

n

original regparm value
 

DESCRIPTION

Call this function with argument n before accessing function arguments using the *_arg function is the function was build with the gcc -mregparm=n option.

(The i386 kernel is built with -mregparm=3, so systemtap considers regparm(3) the default for kernel functions on that architecture.) Only valid on i386 and x86_64 (when probing 32bit applications). Produces an error on other architectures.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 10:39:27 GMT, March 18, 2014