summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
authorzhaolei <zhaolei>2007-12-17 07:49:49 +0000
committerzhaolei <zhaolei>2007-12-17 07:49:49 +0000
commit86895434548ea957252932ceeac97fe0fbd6ce8d (patch)
tree6091842a3d80a944d38a115a898305858181d006 /tapset
parentb4be6b42be0efac6f51054c490f4d09dbd62c1ac (diff)
downloadsystemtap-steved-86895434548ea957252932ceeac97fe0fbd6ce8d.tar.gz
systemtap-steved-86895434548ea957252932ceeac97fe0fbd6ce8d.tar.xz
systemtap-steved-86895434548ea957252932ceeac97fe0fbd6ce8d.zip
2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>
From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * Add new address family to _fam_num2str: IUCV and RXRPC.
Diffstat (limited to 'tapset')
-rw-r--r--tapset/ChangeLog5
-rw-r--r--tapset/socket.stp4
2 files changed, 8 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index f98cc36d..53cb7418 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,5 +1,10 @@
2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>
+ From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
+ * Add new address family to _fam_num2str: IUCV and RXRPC.
+
+2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>
+
From Bai Weidong <baiwd@cn.fujitsu.com>
* syscalls.stp: Add missed compat* probes in syscalls.stp.
diff --git a/tapset/socket.stp b/tapset/socket.stp
index 1660dea3..54a7c71f 100644
--- a/tapset/socket.stp
+++ b/tapset/socket.stp
@@ -693,7 +693,7 @@ function msg_flags_num2str:string (flags:long)
###########################
global _prot_num2str[138], _prot_str2num[138]
-global _fam_num2str[32], _fam_str2num[32]
+global _fam_num2str[34], _fam_str2num[34]
global _state_num2str[5], _state_str2num[5]
global _type_num2str[11], _type_str2num[11]
@@ -869,6 +869,8 @@ probe begin(-1001)
_fam_num2str[26] = "LLC"
_fam_num2str[30] = "TIPC"
_fam_num2str[31] = "BLUETOOTH"
+ _fam_num2str[32] = "IUCV"
+ _fam_num2str[33] = "RXRPC"
foreach (num in _fam_num2str)
_fam_str2num[_fam_num2str[num]] = num