/usr/share/systemtap/tapset/dyninst
NameSizeModeActions
context-envvar.stp6450644editdlrm
context.stp31720644editdlrm
ctime.stp9090644editdlrm
endian.stp7170644editdlrm
errno.stpm570644editdlrm
guru-delay.stp5610644editdlrm
inet.stp7960644editdlrm
syscalls.stpm2130644editdlrm
target_set.stp6430644editdlrm
timestamp_gtod.stp8520644editdlrm
tzinfo.stp5730644editdlrm
Edit: /usr/share/systemtap/tapset/dyninst/inet.stp (796B)
/* Some functions from libc */ /* NB: functionally equivalent to linux/inet.stp * ... but we have the advantage of using (mostly) direct equivalents! */ %{ #include #include %} function htonll:long (x:long) %{ /* pure */ STAP_RETVALUE = htobe64 ((uint64_t) STAP_ARG_x); %} function htonl:long (x:long) %{ /* pure */ STAP_RETVALUE = htonl ((uint32_t) STAP_ARG_x); %} function htons:long (x:long) %{ /* pure */ STAP_RETVALUE = htons ((uint16_t) STAP_ARG_x); %} function ntohll:long (x:long) %{ /* pure */ STAP_RETVALUE = be64toh ((uint64_t) STAP_ARG_x); %} function ntohl:long (x:long) %{ /* pure */ STAP_RETVALUE = ntohl ((uint32_t) STAP_ARG_x); %} function ntohs:long (x:long) %{ /* pure */ STAP_RETVALUE = ntohs ((uint16_t) STAP_ARG_x); %}