Watch
2
Fork
You've already forked systemtap-mirror
0
mirror of https://sourceware.org/git/systemtap.git synced 2026-09-16 22:38:11 +00:00
No description
  • Jupyter Notebook 50.9%
  • C++ 22.4%
  • C 15%
  • Makefile 3.2%
  • HTML 2.4%
  • Other 5.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Frank Ch. Eigler 564a03b76b
testsuite: relax parallel_exec output-count check under load
Compare summed concurrent output against a >= bound instead of exact
equality with the cold-baseline count: children may legitimately do a
few extra syscalls under concurrent load, which made the strict check
flaky (observed 4*10 != 48 on rhel10 builders).  Missing output still
fails.  Gate the test on installtest_p since it runs stap for real.

Verified with sudo -E make installcheck RUNTESTFLAGS=parallel_exec.exp.
2026-09-15 10:28:33 -04:00
.claude Add shared AI skills layout and kernel-porting skill. 2026-07-14 15:52:22 -04:00
.cursor Add shared AI skills layout and kernel-porting skill. 2026-07-14 15:52:22 -04:00
.skills PR34153: cover 32-bit generic syscalls with ~compat_* NRs. 2026-08-25 07:49:21 -04:00
doc PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
emacs Update emacs/systemtap-mode.el for emacs 27 2020-09-16 15:19:43 -04:00
includes PR33347: autoconf the "R" .section flag in sdt.h 2025-09-01 16:29:19 -04:00
initscript PR34128: Replace initscript with systemd service templates 2026-05-28 09:21:14 -04:00
interactive-notebook Only pass -Wno-template-body when the compiler accepts it 2026-07-19 10:25:08 -04:00
java Only pass -Wno-template-body when the compiler accepts it 2026-07-19 10:25:08 -04:00
language-server Refine pass-2 parallelism: builder-owned locks and return vectors. 2026-08-03 21:34:55 -04:00
m4 autoconfigury: rebuild on Fedora 36 2022-10-11 10:50:44 -04:00
man PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
po Autoreconf and translation catalogs regen 2026-08-10 10:59:11 +02:00
python Only pass -Wno-template-body when the compiler accepts it 2026-07-19 10:25:08 -04:00
runtime PR34153: cover 32-bit generic syscalls with ~compat_* NRs. 2026-08-25 07:49:21 -04:00
scripts PR33105: Show systemtap version in generated docs 2026-08-14 16:54:16 +02:00
stap-exporter Only pass -Wno-template-body when the compiler accepts it 2026-07-19 10:25:08 -04:00
stapbpf stapbpf: fix gcc11 maybe-uninitialized false positive 2026-09-11 18:56:43 -04:00
stapdyn PR31683: Add --enable-glibcxx-debug cmdline option, extend test cvg 2026-08-18 16:08:54 +02:00
staprun PR31683: Add --enable-glibcxx-debug cmdline option, extend test cvg 2026-08-18 16:08:54 +02:00
tapset Fix nd_syscall alias resolution on syscall-wrapper kernels. 2026-09-07 20:29:18 -04:00
testsuite testsuite: relax parallel_exec output-count check under load 2026-09-15 10:28:33 -04:00
vim PR25186: tweak vim augroup name for non-conflict with some vim versions 2019-11-24 17:36:48 -05:00
.gitignore Remove dead zanata translation infrastructure 2026-07-22 13:43:26 -04:00
.mailmap AUTHORS micro canonicalization 2024-11-07 09:27:01 -05:00
ABOUT-NLS PR3823: redo autoconfigury with gettextize 2011-02-12 15:21:34 -05:00
aclocal.m4 Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
afteryou.h Fill DWARF caches outside the lock with debuginfod-style after-you. 2026-08-17 05:57:00 -04:00
AGENTS.md AGENTS.md: do not add clog/cerr dumps at verbose < 2. 2026-08-19 17:34:14 -04:00
analysis.cxx PR34432: Make Dyninst liveness analysis worker-thread safe. 2026-08-04 22:22:03 -04:00
analysis.h Avoid triggering error with -Werror=unused-value 2022-03-01 16:03:54 -05:00
ar-lib Autoreconf and translation catalogs regen 2026-08-10 10:59:11 +02:00
AUTHORS pre-release 2026-05-01 15:18:49 -04:00
AUTHORS.sh AUTHORS.sh: force GIT_PAGER=cat for noninteractive use. 2026-07-16 17:09:31 -04:00
bpf-base.cxx PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
bpf-bitset.cxx Revert "Revert all bpf patches" 2017-05-08 07:24:40 -07:00
bpf-bitset.h set2: Return this from assignment operator 2021-05-19 16:29:30 -04:00
bpf-internal.h PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
bpf-opt.cxx Fix BPF translation assertion failure caused by concatenation operator changes 2026-04-10 11:45:11 -04:00
bpf-shared-globals.h pr23478 WIP: rework bpf foreach to handle multi-key array 2021-08-24 12:52:39 -04:00
bpf-translate.cxx bpf: check metadata allocations 2026-09-10 15:54:34 -04:00
bpf.h Revert "Revert all bpf patches" 2017-05-08 07:24:40 -07:00
buildrun.cxx PR34432: Harden pass-2 parallelism: shared dwarf lock, STAP_NTHREADS. 2026-08-03 21:34:55 -04:00
buildrun.h PR13100: build tracepoint query modules separately, concurrently 2011-10-10 05:11:45 -04:00
cache.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
cache.h PR11246 cont'd: Add options for cache control 2010-03-02 16:05:18 -08:00
client-nss.cxx Fix TOCTOU race condition in certificate database permission check 2026-04-10 17:53:17 -04:00
client-nss.h mechanical prerelease copyright notice year# changes 2018-10-12 16:52:23 -04:00
cmdline.cxx Add --semantic-keep-going for pass-2 bulk error catalogs 2026-08-12 15:15:17 -04:00
cmdline.h Add --semantic-keep-going for pass-2 bulk error catalogs 2026-08-12 15:15:17 -04:00
compile Autoreconf and translation catalogs regen 2026-08-10 10:59:11 +02:00
config.guess Autoreconf and translation catalogs regen 2026-08-10 10:59:11 +02:00
config.in PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
config.rpath gettextize to gettext 0.19 2015-07-09 10:55:14 -04:00
config.sub Autoreconf and translation catalogs regen 2026-08-10 10:59:11 +02:00
configure PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
configure.ac PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
COPYING Fix 'incorrect-fsf-address' rpmlint errors. 2011-05-20 09:10:14 -05:00
coveragedb.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
coveragedb.h Initialize POD members that were previously uninitialized 2011-08-17 16:57:09 -04:00
csclient.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
csclient.h mechanical prerelease copyright notice year# changes 2018-10-12 16:52:23 -04:00
cscommon.cxx RHEL-126218: optional ML-DSA module signing for MOK and staprun 2026-08-07 23:59:46 -04:00
cscommon.h RHEL-126218: optional ML-DSA module signing for MOK and staprun 2026-08-07 23:59:46 -04:00
depcomp Autoreconf and translation catalogs regen 2026-08-10 10:59:11 +02:00
dtrace.in dtrace.in: add emacs mode marker for python 2023-02-27 09:37:19 -05:00
dwarf_wrappers.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
dwarf_wrappers.h PR20042: support tracepoints with function-pointer args 2016-05-06 16:43:37 -07:00
dwflpp.cxx Plant dwarf probes asynchronously and fix N>1 pass-2 races. 2026-08-18 22:02:32 -04:00
dwflpp.h Plant dwarf probes asynchronously and fix N>1 pass-2 races. 2026-08-18 22:02:32 -04:00
elaborate.cxx PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
elaborate.h Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
EXAMPLES Rename the 'examples' symlink to 'EXAMPLES' 2013-10-23 10:01:33 -07:00
git_version.sh PR31703: git_version.sh: tolerate absence of /bin/which 2024-05-06 11:37:38 -04:00
HACKING Remove dead zanata translation infrastructure 2026-07-22 13:43:26 -04:00
hash.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
hash.h build compatibility: drop unnecessary decl 2012-08-20 13:11:50 -04:00
INSTALL fixing configury version drift 2009-02-17 14:20:35 -05:00
install-sh Autoreconf and translation catalogs regen 2026-08-10 10:59:11 +02:00
interactive.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
interactive.h Add initial "interactive mode" support. 2015-07-20 11:17:33 -05:00
INTERNALS interned_string: drop magic c_str() implementation 2015-08-18 13:24:16 -04:00
loc2stap.cxx Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
loc2stap.h Make declarations consistent with corresponding definitions 2021-05-05 15:19:58 -04:00
macros.systemtap.in rhbz1584705: add a %_systemtap_datadir rpm macro too 2018-07-08 11:42:47 -04:00
main.cxx RHEL-126218: optional ML-DSA module signing for MOK and staprun 2026-08-07 23:59:46 -04:00
Makefile.am PR31683: Add --enable-glibcxx-debug cmdline option, extend test cvg 2026-08-18 16:08:54 +02:00
Makefile.in PR31683: Add --enable-glibcxx-debug cmdline option, extend test cvg 2026-08-18 16:08:54 +02:00
mdfour.c Fix minor errors found by clang analyzer 2013-10-04 17:12:04 -07:00
mdfour.h Fix 'incorrect-fsf-address' rpmlint errors. 2011-05-20 09:10:14 -05:00
missing Autoreconf and translation catalogs regen 2026-08-10 10:59:11 +02:00
NEWS PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
nss-server-info.cxx Fix TOCTOU race condition in certificate database permission check 2026-04-10 17:53:17 -04:00
nss-server-info.h mechanical prerelease copyright notice year# changes 2018-10-12 16:52:23 -04:00
nsscommon.cxx RHEL-126218: optional ML-DSA module signing for MOK and staprun 2026-08-07 23:59:46 -04:00
nsscommon.h Fix TOCTOU race condition in certificate database permission check 2026-04-10 17:53:17 -04:00
parse.cxx PR34499: support @enumname() reverse enum mapping 2026-08-07 17:43:21 -04:00
parse.h PR32788: parallelize pass-1 2025-03-12 21:56:54 -04:00
privilege.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
privilege.h PR 13631 and other rework of multi-privilege level support 2012-01-30 13:47:52 -05:00
py-compile Added the initial httpd/docker directory. 2017-11-14 15:39:32 -06:00
README RHEL-134992: prefer to advertise "dnf debuginfo-install" 2026-02-09 15:52:03 -05:00
README.security README.security: typo 2013-05-24 17:21:56 -04:00
README.stapregex stapregex REWRITE PROGRESS: ADD PARTIAL stapregex-dfa.cxx & related (missing emit data, some tag-reordering stuff) 2013-07-24 17:03:02 -04:00
README.unprivileged RHEL-126218: optional ML-DSA module signing for MOK and staprun 2026-08-07 23:59:46 -04:00
remote.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
remote.h PR30321 Privilege separation if invoked as root 2024-04-26 17:22:26 +02:00
rpm_finder.cxx RHEL-134992: prefer to advertise "dnf debuginfo-install" 2026-02-09 15:52:03 -05:00
rpm_finder.h pr11564 use the --with-rpm flag to detect a missing or wrong version kernel-devel package in addition to the kernel-debuginfo. 2010-10-14 17:17:09 -04:00
run-stap.in python: complete 3.15 tapset build and install plumbing 2026-06-24 22:04:14 -04:00
runtest.sh 2006-06-27 Roland McGrath <roland@redhat.com> 2006-06-27 21:20:53 +00:00
sdt_types.h Improve public domain dedication language. 2017-06-27 01:52:48 +02:00
session.cxx PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
session.h PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
setupdwfl.cxx Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
setupdwfl.h PR17073: module probes: support out-of-tree modules 2014-07-10 15:33:47 -04:00
smileytap.svg license: change smileytap.svg's embedded license to GPLv2 + EPL1.0 2012-10-03 15:19:00 -04:00
stap-authorize-cert.cxx RHEL-126218: optional ML-DSA module signing for MOK and staprun 2026-08-07 23:59:46 -04:00
stap-env PR34108 cont'd: Replace 'uname -i' with 'uname -m' elsewhere 2026-04-28 14:58:41 -04:00
stap-gen-cert.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
stap-prep RHEL-134992: prefer to advertise "dnf debuginfo-install" 2026-02-09 15:52:03 -05:00
stap-profile-annotate.in stap-profile-annotate.in: 2022-05-11 14:04:13 -04:00
stap-report stap-report: Add /sys/kernel/security/lsm check 2026-05-30 10:13:35 -04:00
stap-server Fix rhbz1378462 by updating the path to stap-gen-cert in stap-server. 2016-09-22 15:10:29 +02:00
stap-server.conf rhbz2041596: replace /var/run -> /run throughout 2022-01-17 15:19:32 -05:00
stap-server.service set -i as default for stap-server.service 2016-05-19 14:13:03 -04:00
stap-serverd.cxx RHEL-126218: optional ML-DSA module signing for MOK and staprun 2026-08-07 23:59:46 -04:00
stap-sign-module.cxx Fix TOCTOU race condition in certificate database permission check 2026-04-10 17:53:17 -04:00
stap-start-server PR16309: spawn stap-serverd with / cwd 2013-12-10 12:39:32 -05:00
stap-stop-server Make stap-stop-server wait (for up to 10 seconds) for the server to quit. 2013-08-02 10:35:25 -05:00
staplog.c deprecate STP_TRANSPORT_VERSION=1 (rhel4 relayfs) 2020-09-18 14:05:48 -04:00
stapregex-defines.h stapregex PR15065 (4/8) :: switch DFA engine to an unsigned char type 2017-09-07 23:06:07 -04:00
stapregex-dfa.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
stapregex-dfa.h fix PR30395: Regex code has invalid memory reads caught by KASAN 2023-05-08 08:12:59 -04:00
stapregex-parse.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
stapregex-parse.h stapregex PR15065 (5/8) :: correctly number tags in stapregex-parse 2017-09-07 23:06:11 -04:00
stapregex-tree.cxx stapregex PR15065 (8/8) :: add back re2c's mini-optimizer 2017-09-07 23:06:28 -04:00
stapregex-tree.h stapregex PR15065 (8/8) :: add back re2c's mini-optimizer 2017-09-07 23:06:28 -04:00
stapregex.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
stapregex.h stapregex PR15065 (4/8) :: switch DFA engine to an unsigned char type 2017-09-07 23:06:07 -04:00
staptree.cxx Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
staptree.h Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
staputil.cxx Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
staputil.h Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
stapvirt.c stapvirt: use xmlBufferContent() accessor 2026-09-14 14:38:56 -04:00
stringtable.cxx PR32788: parallelize pass-1 2025-03-12 21:56:54 -04:00
stringtable.h PR32788: parallelize pass-1 2025-03-12 21:56:54 -04:00
systemtap.spec Drop redundant BuildRequires on python3-wheel when setuptools has the functionality 2026-08-27 11:53:56 -04:00
tapset-been.cxx PR34432: Return vectors from builder build/run_build APIs. 2026-08-03 21:34:55 -04:00
tapset-debuginfod.cxx PR34432: Return vectors from builder build/run_build APIs. 2026-08-03 21:34:55 -04:00
tapset-dynprobe.cxx Revert "add support of compilation against clang and llvm's libc++" 2025-01-17 20:36:16 -05:00
tapset-dynprobe.h PR14708 partial fix: Add dyninst support for '.thread.{begin,end}' probes. 2013-01-11 16:12:56 -06:00
tapset-method.cxx PR34432: Return vectors from builder build/run_build APIs. 2026-08-03 21:34:55 -04:00
tapset-netfilter.cxx PR34432: Return vectors from builder build/run_build APIs. 2026-08-03 21:34:55 -04:00
tapset-perfmon.cxx PR34432: Return vectors from builder build/run_build APIs. 2026-08-03 21:34:55 -04:00
tapset-procfs.cxx PR34432: Serialize functiondecl::join under session_data_mutex. 2026-08-04 22:22:03 -04:00
tapset-python.cxx PR34432: Return vectors from builder build/run_build APIs. 2026-08-03 21:34:55 -04:00
tapset-timers.cxx PR34432: Return vectors from builder build/run_build APIs. 2026-08-03 21:34:55 -04:00
tapset-utrace.cxx PR34432: Return vectors from builder build/run_build APIs. 2026-08-03 21:34:55 -04:00
tapsets.cxx PR34632: fix BTF tracepoint discovery for void* and _tp-named events 2026-09-14 14:38:57 -04:00
tapsets.h PR34583: Add XDP probe support to the bpf runtime. 2026-09-01 21:42:52 -04:00
task_finder.cxx PR32652: build compatibility with -Werror + dyninst 13 + gcc14 2025-02-06 18:24:01 -05:00
task_finder.h Consolidate task_finder/vma tracker initialization. 2010-06-11 15:22:51 +02:00
tracepoint-vmlinux.cxx PR34632: fix BTF tracepoint discovery for void* and _tp-named events 2026-09-14 14:38:57 -04:00
tracepoint-vmlinux.h Add BTF tracepoint probes kernel.tracepoint() and module().tracepoint(). 2026-07-06 13:50:50 -04:00
translate.cxx Enable parallel DWARF pass-2 derivation for wildcard probes. 2026-08-17 05:57:00 -04:00
translate.h stapregex REWRITE PROGRESS: ADD stapregex.h 2013-07-24 17:03:01 -04:00
translator-output.cxx translate.cxx: Make stap-symbols.h a separate CU. 2019-12-18 16:47:12 -08:00
translator-output.h translator: ditch one assert(0) 2020-05-28 11:25:01 -04:00
version.h PR29668 - make rpm target 2022-10-11 16:41:23 +02:00

systemtap: a linux trace/probe tool

Visit the project web site at <http://sourceware.org/systemtap>,
for documentation and mailing lists for developers and users.

This is free software.
See the COPYING file for redistribution/modification terms.
See the INSTALL file for generic build instructions.
See the HACKING file for contribution advice.

Prerequisites:

- linux kernel
- kernel module build environment (kernel-devel rpm) and/or dyninst
- optionally, debugging information for kernel/user-space being instrumented
- C compiler (same as what kernel was compiled with), to build kernel modules
- C++11 compiler such as gcc 4.8+, to build systemtap itself
- elfutils 0.151+ with libdwfl for debugging information parsing
- Python for tools which are scripts, such as dtrace(1)
- root privileges

Installation steps:

- If equipped with elfutils version 0.178 or later, try using debuginfod
  for automatic debuginfo downloading.  This experimental public server
  may be enough:
  % export DEBUGINFOD_URLS=https://debuginfod.elfutils.org/
  % export DEBUGINFOD_PROGRESS=1
  See https://sourceware.org/elfutils/Debuginfod.html for more details.
  
- Otherwise, install any debuginfo packages you need, for kernel
  and/or userspace.  On modern Fedora, # dnf debuginfo-install kernel [...]
  
  (Beware of confusion between kernel vs. kernel-debug vs kernel-PAE etc.
  variants.  Each likely has a corresponding development and debuginfo
  package.)

- Install the systemtap package.
  On modern Fedora, # yum install systemtap systemtap-runtime

Build steps:

- Consider installing the kernel-debuginfo, kernel-devel, gcc and
  dependent packages (or see below if you are building your own
  kernels from source).  If using only the pure-userspace dyninst
  backend, install gcc and dyninst-devel.
  
- If available, install your distribution's copy of elfutils and its
  development headers/libraries.
  Or if desired, build elfutils separately one time, and install
  it to /usr/local.
  See https://elfutils.org/
  elfutils version 0.178 introduces automatic debuginfo downloading,
  which can makes systemtap usage easier.

- On modern Fedora, install general optional build-requisites:
  # yum-builddep systemtap
  On modern Debian/Ubuntu, similarly:
  # apt-get build-dep systemtap

- Download systemtap sources:
  https://sourceware.org/systemtap/ftp/releases/
  https://sourceware.org/systemtap/ftp/snapshots/
  (or)
  git clone git://sourceware.org/git/systemtap.git
      (or) https://sourceware.org/git/systemtap.git

- Build systemtap normally:
  % .../configure [other autoconf options]
  Add env LDFLAGS=-L/path/ CPPFLAGS=-I/path/ before configure
  to locate libraries in non-system directories.

  Consider configuring with "--prefix=DIRECTORY" to specify an
  installation directory other than /usr/local.  It can be an ordinary
  personal directory.

  % make all
  # make install
  To uninstall systemtap:
  # make uninstall

  Alternately, on a Fedora-like system:
  % make rpm
  # rpm -i /path/to/rpmbuild/.../systemtap*rpm


- Run systemtap:

  To run systemtap after installation, add $prefix/bin to your $PATH, or
  refer to $prefix/bin/stap directly.  If you keep your build tree
  around, you can also use the "stap" binary there.  

  Some samples should be available under $prefix/share/doc/systemtap/examples.

  For the normal linux-kernel-module based backend, run "stap" as
  root.  If desired, create "stapdev" and "stapusr" entries in
  /etc/groups.  Any users in "stapdev"+"stapusr" will be able to run
  systemtap as if with root privileges.  Users in "stapusr" only may
  launch (with "staprun") pre-compiled probe modules (created by "stap
  -p4 ...") that a system administrator copied under
  /lib/modules/`uname -r`/systemtap.  "stapusr" may also be permitted
  to create arbitrary unprivileged systemtap scripts of their own.
  See README.unprivileged for additional setup instructions.

  To run a simple test.
  # stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'

  To run the full test suite from the build tree, install dejagnu,
  then run with root privileges:
  # make installcheck

  For the prototype dyninst pure-userspace backend, run "stap" as any user.
  % stap --runtime=dyninst -e 'probe process.function("*") { 
                               println(pn(), ":", $$parms) }' -c 'ls'

  For the prototype bpf backend, run "stap" as "root"
  # stap --runtime=bpf -e 'probe kernel.function("do_exit") {
                                 printf("bye %d\n", pid()) }'



Tips:

- By default, systemtap looks for the debug info in these locations:
  /boot/vmlinux-`uname -r`
  /usr/lib/debug/lib/modules/`uname -r`/vmlinux
  /lib/modules/`uname -r`/vmlinux
  /lib/modules/`uname -r`/build/vmlinux


Building a kernel.org kernel:

- Build the kernel using your normal procedures.  Enable
  CONFIG_DEBUG_INFO, CONFIG_KPROBES, CONFIG_RELAY, CONFIG_DEBUG_FS,
  CONFIG_MODULES, CONFIG_MODULE_UNLOAD, CONFIG_UPROBES if able
- % make modules_install install headers_install
- Boot into the kernel.

- If you wish to leave the kernel build tree in place, simply run
  % stap -r /path/to/kernel/build/tree [...]
  You're done.

- Or else, if you wish to install the kernel build/debuginfo data into
  a place where systemtap will find it without the "-r" option:
  % ln -s /path/to/kernel/build/tree /lib/modules/RELEASE/build 

- Instead of using the "-r" option, you can also use the environment 
  variable SYSTEMTAP_RELEASE to direct systemtap to the kernel data.