diff options
author | hunt <hunt> | 2007-08-27 16:44:10 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-08-27 16:44:10 +0000 |
commit | 3a5ee1c03bcb392982d24b1a2b9be61c137feeaa (patch) | |
tree | f0c13d6da4b108a05a8972fd3a0321046762913b /tapset/context.stp | |
parent | a961f31c36c7ff885f6942638d201a8d1de4abce (diff) | |
download | systemtap-steved-3a5ee1c03bcb392982d24b1a2b9be61c137feeaa.tar.gz systemtap-steved-3a5ee1c03bcb392982d24b1a2b9be61c137feeaa.tar.xz systemtap-steved-3a5ee1c03bcb392982d24b1a2b9be61c137feeaa.zip |
2007-08-27 Martin Hunt <hunt@redhat.com>
* context.stp (module_name): New. Returns the current
module name.
* tcp.stp (tcp_sendmsg): For 2.6.23, parameters change.
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; %} |