/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/context-envvar.stp (645B)
// context-envvar tapset // 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/context-envvar.stp %{ #include %} function env_var:string(name:string) %{ /* pure */ /* unmodified-fnargs */ // XXX getenv may not be reentrant! const char* env = getenv(STAP_ARG_name); if (env) strlcpy (STAP_RETVALUE, env, MAXSTRINGLEN); else STAP_RETVALUE[0] = '\0'; %}