Differences between revisions 115 and 511 (spanning 396 versions)
Revision 115 as of 2008-10-30 06:21:27
Size: 5525
Editor: 119
Comment:
Revision 511 as of 2020-11-20 14:58:40
Size: 12208
Editor: FChE
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This is the [[http://sourceware.org/systemtap/|systemtap]] wiki. ''Good content depends on each of us. Please help by logging in and improving the pages.'' This is the [[http://sourceware.org/systemtap/|systemtap]] wiki. ''Good content depends on each of us. Please help by creating a userid on the wiki Login page, ask us on IRC to add it to the EditorGroup ACL, then edit away.''
Line 3: Line 3:
= SystemTap Installation =
 * [[SystemtapOnDebian|SystemTap on Debian GNU/Linux]]: Installing systemtap on a debian machine
 * [[SystemtapOnUbuntu|SystemTap on Ubuntu]]: Installing systemtap on an Ubuntu Gutsy+ machine
 * [[SystemtapOnFedora|SystemTap on Fedora]]: Installing systemtap on a Fedora machine
 * [[SystemTapOnRHEL5|SystemTap on Red Hat Enterprise Linux 5]]: Installing systemtap on a Red Hat Enterprise Linux 5 machine
 * [[SystemTapOnopenSUSE|SystemTap on openSUSE 10.2]]: Installing systemtap on an openSUSE 10.2 machine
 * [[SystemTapOnCentOS|SystemTap on CentOS 5]]: Installing systemtap on an CentOS 5 machine
 * [[ftp://sourceware.redhat.com/pub/systemtap/livecds/|LiveCDs]]: Just burn one of these on a CD, DVD or USB stick, boot from it and try it out.
 * [[SystemtapMaemo|Systemtap on Maemo]] Systemtap on Maemo Home
 * [[http://lists.maemo.org/pipermail/maemo-developers/2007-July/010868.html|Kprobes and Maemo (N800)]] (July 2007)
 * [[http://lists.maemo.org/pipermail/maemo-developers/2007-July/010869.html|Experiences getting SystemTap work on Nokia N800]] (July 2007)
 * [[SystemTapOnMandriva|Systemtap on Mandriva]] Installing systemtap on Mandriva
{{{#!frame align=float:right,width=40%
'''In The News'''
 * [[https://cuckoosandbox.org/|cuckoo sandbox for malware analysis, uses systemtap]]
 * [[https://www.redhat.com/en/blog/troubleshooting-red-hat-identity-management-scaling-issues-systemtap|identifying RH IdM scaling issues]]
 * [[https://blog.janestreet.com/troubleshooting-systemd-with-systemtap/|troubleshooting systemd with systemtap]]
 * [[https://github.com/wikimedia/puppet/blob/production/modules/tlsproxy/files/utils/h2_spdy_stats.stp|h2/spdy profiling at wikimedia]], plus others at [[https://phabricator.wikimedia.org/search/?query=systemtap|phabricate]]
 * Easier [[https://www.berrange.com/posts/2019/02/18/easier-qemu-live-tracing-using-systemtap/|QEMU live tracing]] using systemtap
 * A little note on systemtap [[https://qiita.com//SIGABRT/items/638697cedd97612dba7a|command line parameters]] (japanese)
 * mysql execution pipeline analysis [[http://sparkgis.com/2018/11/21/%e4%bd%bf%e7%94%a8systemtap%e8%b0%83%e8%af%95%e5%b7%a5%e5%85%b7%e5%88%86%e6%9e%90mysql%e7%9a%84%e6%80%a7%e8%83%bd/|sparkgis.com]] (chinese)
 * Kernel tracing by using trace event and systemtap [[https://events.opensuse.org/conference/summitasia17/program/proposal/1612|talk description]] [[https://www.youtube.com/watch?v=FP81xVjxq0g|video]]
 * Red Hat Developer blog series on stapbpf, part [[https://developers.redhat.com/blog/2017/12/13/introducing-stapbpf-systemtaps-new-bpf-backend|1]] [[https://developers.redhat.com/blog/2017/12/15/bpf-maps-used-stapbpf|2]] [[https://developers.redhat.com/blog/2018/04/23/systemtaps-bpf-backend-tracepoint-support|3]]
 * OlderNews
}}}
= Overview =
SystemTap provides free software (GPL) infrastructure to simplify the gathering of information about the running Linux system. This assists diagnosis of a performance or functional problem. SystemTap eliminates the need for the developer to go through the tedious and disruptive instrument, recompile, install, and reboot sequence that may be otherwise required to collect data.
Line 16: Line 19:
= Systemtap Documentation = SystemTap provides a simple command line interface and scripting language for writing instrumentation for a live running system. We are publishing samples, as well as enlarging the internal "tapset" script library to aid reuse and abstraction.

[[SystemTapReleases|Archive of SystemTap releases]] '''The current release is 4.4, 2020-11-09.'''

= Installation =
[[http://sourceware.org/git/?p=systemtap.git;a=blob_plain;f=README;hb=HEAD|Build your own]] | [[SystemtapOnDebian|Debian GNU/Linux]] | [[SystemtapOnUbuntu|Ubuntu Gutsy+]] | [[SystemtapOnFedora|Fedora]] | [[SystemtapOnFedoraArm|Fedora ARM]] | [[SystemTapOnRHEL5|Red Hat Enterprise Linux 5]] | [[SystemTapOnCentOS|CentOS 5]] | [[SystemTapOnopenSUSE|openSUSE 10.2]] | [[SystemTapOnopenSUSE11|openSUSE 11]] | [[SystemTapOnMandriva|Mandriva]] | [[SystemtapOnArch|Arch]] | [[SystemtapMaemo|Maemo]] | [[SystemTapWithSelfBuiltKernel|with a self-built kernel]] | [[http://omappedia.org/wiki/Systemtap|OMAP ARM]] | [[SystemTapOnAndroidARM|SystemTap4Android]]

[[ftp://sourceware.redhat.com/pub/systemtap/livecds/|LiveCD/LiveUSB]]

= Documentation =
 * [[http://sourceware.org/systemtap/documentation.html|all documentation included in systemtap packages]]
 * !SystemTap Beginner's Guide ([[http://sourceware.org/systemtap/SystemTap_Beginners_Guide/|html]] [[http://sourceware.org/systemtap//SystemTap_Beginners_Guide.pdf|pdf]])
Line 19: Line 33:
 * [[http://sourceware.org/systemtap/examples/|Examples in Code Repository]]: Examples sorted by subsystem and keywords.
Line 21: Line 34:

= SystemTap Applications =
 * [[WarStories|War Stories]]: A collection of systemtap demos and usage stories
 * [[ScriptsTools|Scripts & Tools]]: A repository of useful scripts and script ideas
 * [[https://hosted.fedoraproject.org/sos|Son of Sysreport (SOS)]] -- the next generation tool for sysreport includes a !SystemTap plugin, [[https://hosted.fedoraproject.org/sos/browser/trunk/src/lib/sos/plugins/systemtap.py|systemtap.py]]
 * [[http://sourceforge.net/projects/scsifaultinjtst| SCSI fault injection]]
 * [[http://people.redhat.com/berrange/systemtap/bootprobe/| Boot time process profiling]]
 * [[MakeDoWithoutDebugInfo|Making Do without Debugging Information]]: Using !SystemTap when your kernel lacks debugging information.
 * [[SystemTapWithSelfBuiltKernel|SystemTap with a self-built kernel]]: Using !SystemTap with a self-built kernel
 * [[UsingMarkers|Using Markers]]: A description of how to use kernel markers with !SystemTap.
 * [[https://sourceforge.net/projects/stapgui/|SystemTap GUI Sourceforge]]: A GUI built for editing and running/graphing !SystemTap scripts
 * [[http://sourceware.org/systemtap/wiki/systemtapstarters|SystemTap Starters]]: A collection of simple scripts to help beginners.

= SystemTap Issues and Improvements =
Line 37: Line 36:
 * [[PortingDTracetoSystemTap|Porting Dtrace Scripts to SystemTap]]: Example conversions of DTrace scripts into !SystemTap scripts
Line 42: Line 42:
= Systemtap Development =
 * [[http://sources.redhat.com/git/?p=systemtap.git;a=blob_plain;f=tapset/DEVGUIDE|Tapset Developer's Guide]]: guidelines for tapset writers
= Applications =
 * [[http://sourceware.org/systemtap/examples/|Examples in Code Repository]]: Examples sorted by name and keywords.
 * [[WarStories|War Stories]]: A collection of systemtap demos and usage stories
 * [[ScriptsTools|Scripts & Tools]]: A repository of useful scripts and script ideas
 * [[https://github.com/sosreport/sosreport|Sosreport]] -- A unified tool for collecting system logs and other debug information includes a !SystemTap plugin, [[https://github.com/sosreport/sosreport/blob/master/sos/plugins/systemtap.py|systemtap.py]]
 * [[http://sourceforge.net/projects/scsifaultinjtst|SCSI fault injection]]
 * [[http://people.redhat.com/berrange/systemtap/bootprobe/|Boot time process profiling]]
 * [[http://code.google.com/p/bootlimn/|bootlimn]] - A visualization and analysis tool for the Linux boot process using !SystemTap
 * [[http://gitorious.org/mortadelo|Mortadelo]] - A graphical viewer for all the file-related system calls that happen in your Linux system. ([[http://lwn.net/Articles/271796/|LWN article]])
 * [[http://sourceware.org/ml/systemtap/2008-q4/msg00205.html|Systemtap generator for simple timings collection]] (includes an example of tracing NFS performance)
 * [[MakeDoWithoutDebugInfo|Making Do without Debugging Information]]: Using !SystemTap when your kernel lacks debugging information.
 * [[GuruModeKallsyms|Guru Mode - Using kallsyms to Obtain Any Kernel Symbol]]: A description of how to call non-exported kernel functions from !SystemTap embedded-C blocks in guru mode.
 * [[UsingMarkers|Using Markers]]: A description of how to use kernel markers with !SystemTap.
 * [[UsingStaticUserMarkers|Using Static User Markers]]: A description of how to build postgres so that !SystemTap static user markers are enabled.
 * [[AddingUserSpaceProbingToApps|Adding User Space Probing to an Application]]: A simple example adding markers to a user-space application with !SystemTap.
 * [[UserSpaceProbeImplementation|User-Space Probe Implementation]]: A tool-writer's guide to the implementation of user-space probes.
 * Applications with built-in User-Space Markers:
  * [[Glib2Markers|Glib for GTK+ and GNOME]]
  * [[glibcMarkers| glibc standard libraries]]
  * [[JavaMarkers|Java]]
  * [[LibGuestFSMarkers|libguestfs]]
  * [[LibVirtMarkers|libvirt]]
  * [[MariaDBMarkers|MariaDB]]
  * [[MozillaMarkers|Mozilla]]
  * [[MysqlMarkers|Mysql]]
  * [[NodejsMarkers|Node.js]]
  * [[PerlMarkers|Perl]]
  * [[PerformanceCopilot|Performance Co-Pilot]]
  * [[PHPMarkers|PHP]]
  * [[PostgresqlMarkers|Postgresql]]
  * [[PythonMarkers|Python]]
  * [[QemuMarkers|QEMU]]
  * [[RubyMarker|Ruby]]
  * [[SSSDMarkers|SSSD]]
  * [[SystemTapMarkers|SystemTap]]
  * [[TclTkMarkers|Tcl/Tk]]
 * [[https://sourceforge.net/projects/stapgui/|SystemTap GUI Sourceforge]]: A GUI built for editing and running/graphing !SystemTap scripts
 * [[http://sourceware.org/systemtap/wiki/systemtapstarters|SystemTap Starters]]: A collection of simple scripts to help beginners.

= Development =
 * [[http://sourceware.org/git/?p=systemtap.git;a=blob_plain;f=tapset/DEVGUIDE|Tapset Developer's Guide]]: guidelines for tapset writers
Line 48: Line 87:
 * [[SystemTapReleaseGuide|SystemTap Release Guide]]: Instructions for creating a new release
 * [[SystemTapDocUpdates|SystemTap Documentation Updates]]: Instructions for updating the web documentation
 * [[SecureBoot]]: Information on Systemtap's UEFI Secure Boot support
Line 50: Line 92:
 * [[Myths]]: Myths about systemtap
Line 51: Line 94:
 * [[SystemtapGUIChimeComparison|SystemTap GUI/Chime Comparison]]: Who knew - systemtap has a gui?  * [[SystemtapGUIChimeComparison|SystemTap GUI/Chime Comparison]]: GUIs.
 * [[stapstapbpfC
omparison|stap/stapbpf Comparison]]: Comparison between stap and stapbpf.
Line 60: Line 104:
 * [[http://www.linuxconf.eu/2007/index.shtml| LinuxConf.eu]]: [[http://www.linuxconf.eu/2007/programme/abstract-RJMoore-1.shtml | SystemTap and kdump workshop]] (updating/creating page)  * [[http://www.linuxconf.eu/2007/index.shtml|LinuxConf.eu]]: [[http://www.linuxconf.eu/2007/programme/abstract-RJMoore-1.shtml|SystemTap and kdump workshop]] (updating/creating page)
 * [[http://fedoraproject.org/wiki/LCA/Melbourne2008|Fedora Mini-Conf at Linux Conference Australia 2008 (Melbourne)]]: Writing SystemTap Scripts.
Line 64: Line 109:
 * [[http://gnome.asia/en/schedule/event/26/ | GNOME.Asia Summit 2008 (Beijing)]]: Writing SystemTap Scripts  * [[http://gnome.asia/en/schedule/event/26/|GNOME.Asia Summit 2008 (Beijing)]]: Writing SystemTap Scripts (different from my Melbourne talk).
 * [[http://www.redbooks.ibm.com/abstracts/redp4469.html|SystemTap: Instrumenting the Linux Kernel for Analyzing Performance and Functional Problems]]
 * [[attachment:LFCS-2009-04.pdf]]: Linux Foundation Collaboration Summit 2009, San Francisco. Systemtap status & community issues.
 * [[http://www.vimeo.com/4579806|Investigando o Kernel com SystemTap]]: an introductory talk in portuguese given at [[http://www.tchelinux.org/2009/scs/|TcheLinux 2009 - Santa Cruz do Sul]]. [[http://www.tchelinux.org/2009/scs/slides/16-Investigando_o_Kernel_com_SystemTap.pdf|Slides in pt_BR]].
 * [[RH2010Webinar|Red Hat January 27, 2010 Webinar]]: An introductory talk showing applications of the SystemTap examples scripts.
 * [[attachment:fosdem-stap.pdf|Fosdem 2010 SystemTap presentation]]
 * [[http://2010.rmll.info/SystemTap-Full-System-Observability-for-Linux.html|RMLL 2010]]: SystemTap: Full System Observability for Linux (general introduction for system people)
 * [[http://events.hackerspace.lu/camp/2010/schedule/events/12.en.html|HaxoGreen 2010]]: SystemTap: Full System Observability for Linux (general introduction for security people)
 * [[http://act.osdc.fr/osdc2010fr/talk/3034|Open Source Developers' Conference / France 2010]]: Tracing and profiling production code with SystemTap (general introduction for application people)
 * [[http://fsoss.senecac.on.ca/2010/|Free Software and Open Source Symposium / Seneca 1010]]: SystemTap: System wide probing on linux focusing on user space ( [[attachment:FSOSS-2010.odp|Slides]], [[http://www.fosslc.org/drupal/content/systemtap-system-wide-probing-linux-focus-user-space|Presentation]] )
 * [[attachment:hotspot-stap.pdf|Observing HotSpot with SystemTap]]
 * [[attachment:nyc2011-end-users.pdf|Linux Foundation End User Summit 2011 NYC]]
 * Solutions Linux / Open Source 2011, Paris, France [[http://fruli.krunch.be/~krunch/systemtap-sl-2011051201.pdf|SystemTap : observabilité intégrale des systèmes Linux]]
 * [[attachment:Lpc2012-systemtap.pdf|Linux Plumbers Conference 2012]]
 * [[attachment:fsoss-2013.tar.gz|FSOSS 2013]]

This is the systemtap wiki. Good content depends on each of us. Please help by creating a userid on the wiki Login page, ask us on IRC to add it to the EditorGroup ACL, then edit away.

In The News

Overview

SystemTap provides free software (GPL) infrastructure to simplify the gathering of information about the running Linux system. This assists diagnosis of a performance or functional problem. SystemTap eliminates the need for the developer to go through the tedious and disruptive instrument, recompile, install, and reboot sequence that may be otherwise required to collect data.

SystemTap provides a simple command line interface and scripting language for writing instrumentation for a live running system. We are publishing samples, as well as enlarging the internal "tapset" script library to aid reuse and abstraction.

Archive of SystemTap releases The current release is 4.4, 2020-11-09.

Installation

Build your own | Debian GNU/Linux | Ubuntu Gutsy+ | Fedora | Fedora ARM | Red Hat Enterprise Linux 5 | CentOS 5 | openSUSE 10.2 | openSUSE 11 | Mandriva | Arch | Maemo | with a self-built kernel | OMAP ARM | SystemTap4Android

LiveCD/LiveUSB

Documentation

Applications

Development

Comparisons/Reviews/Critiques

Talks/Papers

None: HomePage (last edited 2021-02-11 18:51:42 by FChE)