diff options
author | guanglei <guanglei> | 2006-07-18 02:44:09 +0000 |
---|---|---|
committer | guanglei <guanglei> | 2006-07-18 02:44:09 +0000 |
commit | 749cc1800c9049aa92e7c98cfd1a6d953d73a342 (patch) | |
tree | 1601aa65b4c67213886209f1d9c70eb09620d5dc | |
parent | c29ab02cbb0cb4136d13e95de9548c2575213db4 (diff) | |
download | systemtap-steved-749cc1800c9049aa92e7c98cfd1a6d953d73a342.tar.gz systemtap-steved-749cc1800c9049aa92e7c98cfd1a6d953d73a342.tar.xz systemtap-steved-749cc1800c9049aa92e7c98cfd1a6d953d73a342.zip |
bugfix of an stp script example(skb --> $skb)
-rw-r--r-- | lket.5.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -586,7 +586,7 @@ probe register_event } probe addevent.netdev { - printf("%4b%4b", skb->mac_len, skb->priority) + printf("%4b%4b", $skb->mac_len, $skb->priority) } .ESAMPLE @@ -605,7 +605,7 @@ To only probe syscall.entry: stap -e "probe addevent.syscall.entry {}" -bM .TP To probe netdev transmition and log extra data of mac_len and priority: -stap -e "probe addevent.netdev.transmit { printf(\\"%4b%4b\\", skb->mac_len, skb->priority) }" -bM +stap -e "probe addevent.netdev.transmit { printf(\\"%4b%4b\\", $skb->mac_len, $skb->priority) }" -bM .SH SEE ALSO .IR stap (1) |