From af769763499cd14f58d579bbeb2969b3e76bb24c Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Thu, 1 Oct 2015 14:01:14 +0200 Subject: [PATCH] Specify argument type for _madvice_advice_str:string(behavior:long). This makes stap --dump-functions report the correct argument type for _madvice_advice_str(). --- tapset/linux/aux_syscalls.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapset/linux/aux_syscalls.stp b/tapset/linux/aux_syscalls.stp index 622eacd01..14505d905 100644 --- a/tapset/linux/aux_syscalls.stp +++ b/tapset/linux/aux_syscalls.stp @@ -2127,7 +2127,7 @@ static const _stp_val_array const _stp_madvice_advice_list[] = { }; %} -function _madvice_advice_str:string(behavior) +function _madvice_advice_str:string(behavior:long) %{ /* pure */ _stp_lookup_str(_stp_madvice_advice_list, (unsigned int)STAP_ARG_behavior, STAP_RETVALUE, -- 2.43.5