/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/guru-delay.stp (561B)
// Copyright (C) 2012 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General // Public License (GPL); either version 2, or (at your option) any // later version. // // NB: functionally equivalent to linux/guru-delay.stp %{ #include %} function mdelay(ms:long) { udelay(ms * 1000); } function udelay(us:long) %{ /* guru */ struct timespec ts = { STAP_ARG_us / 1000000, STAP_ARG_us % 1000000, }; nanosleep(&ts, NULL); // XXX spin on EINTR? %}