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

NAME

6       function::probefunc - Return the probe point's function name, if known
7

SYNOPSIS

9           probefunc:string()
10

ARGUMENTS

12       None
13

DESCRIPTION

15       This function returns the name of the function being probed based on
16       the current address, as computed by symname(addr) or usymname(uaddr)
17       depending on probe context (whether the probe is a user probe or a
18       kernel probe).
19

PLEASE NOTE

21       this function's behaviour differs between SystemTap 2.0 and earlier
22       versions. Prior to 2.0, probefunc obtained the function name from the
23       probe point string as returned by pp, and used the current address as a
24       fallback.
25
26       Consider using ppfunc instead.
27

SEE ALSO

29       tapset::context-symbols(3stap)
30
31
32
33SystemTap Tapset Reference        April 2023        FUNCTION::PROBEFUNC(3stap)
Impressum