diff options
Diffstat (limited to 'tapset/context.stp')
-rw-r--r-- | tapset/context.stp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tapset/context.stp b/tapset/context.stp index 622fa505..4aa75158 100644 --- a/tapset/context.stp +++ b/tapset/context.stp @@ -147,6 +147,10 @@ function target:long () %{ /* pure */ THIS->__retvalue = _stp_target; %} +function module_name:string () %{ /* pure */ + strlcpy(THIS->__retvalue, THIS_MODULE->name, MAXSTRINGLEN); +%} + function stp_pid:long () %{ /* pure */ THIS->__retvalue = _stp_pid; %} |