Missing return type defs may cause "unresolved type" error when
calling a function without enough context for type inference to work
like e.g. `stap -e 'probe oneshot{println(__stack_raw(0))}'`.
//processor.
// </tapsetdescription>
-function __stack_raw (n:long) %{ /* pragma:unwind */ /* pure */
+function __stack_raw:long (n:long) %{ /* pragma:unwind */ /* pure */
/* basic sanity check for bounds: */
if (unlikely(STAP_ARG_n < 0 || STAP_ARG_n >= MAXBACKTRACE))
STAP_RETVALUE = 0;
// the function symbol of an address.
// </tapsetdescription>
-function __ustack_raw (n:long) %{ /* pragma:unwind */ /* pure */ /* myproc-unprivileged */
+function __ustack_raw:long (n:long) %{ /* pragma:unwind */ /* pure */ /* myproc-unprivileged */
/* basic sanity check for bounds: */
if (unlikely(STAP_ARG_n < 0 || STAP_ARG_n >= MAXBACKTRACE))
STAP_RETVALUE = 0;