Differences between revisions 32 and 506 (spanning 474 versions)
Revision 32 as of 2006-10-24 15:55:50
Size: 1743
Editor: 202-156-13-3
Comment:
Revision 506 as of 2020-05-05 22:24:18
Size: 12072
Editor: FChE
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This is the [http://sources.redhat.com/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:
= For Users =
 * [http://sourceware.org/systemtap/wiki/WarStories War Stories]: a collection of systemtap demos and usage stories
{{{#!frame align=float:right,width=40%
'''In The News'''
 * [[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 6: Line 18:
 * [http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/examples/small_demos/?cvsroot=systemtap Small demos in CVS] 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.
Line 8: Line 20:
 * [http://sourceware.org/systemtap/wiki/WishList Wishlist]: frequently requested features [[SystemTapReleases|Archive of SystemTap releases]] '''The current release is 4.2, 2019-11-18.'''
Line 10: Line 22:
 * [http://sourceware.org/systemtap/wiki/HowToReportBugs How to report bugs]: how to collect important information to let developers help you = 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]]
Line 12: Line 25:
= For Developers =
 * [http://sourceware.org/systemtap/wiki/SystemtapOnDebian SystemTap on Debian GNU/Linux]: Installing systemtap on a debian machine
[[ftp://sourceware.redhat.com/pub/systemtap/livecds/|LiveCD/LiveUSB]]
Line 15: Line 27:
 * [SystemTapOnFC6 SystemTap on Fedora Core 6]: Installing systemtap on a Fedora Core 6 machine = 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]])
 * Language Reference ([[http://sourceware.org/systemtap/langref/|html]], [[http://sourceware.org/systemtap/langref.pdf|pdf]]): A compendium of !SystemTap scripting language elements
 * Tutorial ([[http://sourceware.org/systemtap/tutorial/|html]], [[http://sourceware.org/systemtap/tutorial.pdf|pdf]]): A walk-through that give a taste of !SystemTap.
 * [[VIMSyntaxHighlightingForSystemtap|VIM Syntax Highlighting for SystemTap]]: A short tutorial
 * [[SystemTapFAQ|SystemTap FAQ]]: Frequently Asked Questions on !SystemTap.
 * [[Tips]]: A collection of FAQs / advice
 * [[PortingDTracetoSystemTap|Porting Dtrace Scripts to SystemTap]]: Example conversions of DTrace scripts into !SystemTap scripts
 * [[HowToReportBugs|How to report bugs]]: How to collect important information to let developers help you
 * [[WishList|Wishlist]]: Frequently requested features
 * [[SnapshotTesting|Test Results]]: Look-up weekly !SystemTap test reports.
 * [[TestSuites|Test Suites]]: How to test !SystemTap
Line 17: Line 41:
 * [http://sourceware.org/systemtap/wiki/OLS2006Talks OLS2006 Talks]: Systemtap-related talks given at OLS2006. = 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:
  * [[PostgresqlMarkers|Postgresql]]
  * [[MysqlMarkers|Mysql]]
  * [[MozillaMarkers|Mozilla]]
  * [[PerlMarkers|Perl]]
  * [[PythonMarkers|Python]]
  * [[JavaMarkers|Java]]
  * [[RubyMarker|Ruby]]
  * [[LibVirtMarkers|libvirt]]
  * [[QemuMarkers|QEMU]]
  * [[glibcMarkers| glibc standard libraries]]
  * [[Glib2Markers|Glib for GTK+ and GNOME]]
  * [[SystemTapMarkers|SystemTap]]
  * [[PHPMarkers|PHP]]
  * [[TclTkMarkers|Tcl/Tk]]
  * [[SSSDMarkers|SSSD]]
  * [[LibGuestFSMarkers|libguestfs]]
  * [[NodejsMarkers|Node.js]]
  * [[MariaDBMarkers|MariaDB]]
 * [[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.
Line 19: Line 79:
 * [http://sourceware.org/systemtap/wiki/OSSRHDD2006Talks OSS/RHDD2006 Talks]: Talks given at Open Source Symposium/Red Hat Developer Day 2006 (Asia Pacific). = Development =
 * [[http://sourceware.org/git/?p=systemtap.git;a=blob_plain;f=tapset/DEVGUIDE|Tapset Developer's Guide]]: guidelines for tapset writers
 * TapsetStatus: maintenance status of tapsets
 * [[utrace]]: '''utrace''' resources
 * TaskFinder: Information on the 'task_finder' layer.
 * [[DeveloperSetupTips|Developer Setup Tips]]: Contains information on setting up a network console
 * [[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 21: Line 89:
 * [http://sourceware.org/systemtap/wiki/VIMSyntaxHighlightingForSystemtap VIM Syntax Highlighting for SystemTap]: a short tutorial = Comparisons/Reviews/Critiques =
 * [[Myths]]: Myths about systemtap
 * [[SystemtapDtraceComparison|SystemTap/Dtrace Comparison]]: Frequently requested impressions
 * [[SystemtapGUIChimeComparison|SystemTap GUI/Chime Comparison]]: GUIs.
 * [[stapstapbpfComparison|stap/stapbpf Comparison]]: Comparison between stap and stapbpf.
Line 23: Line 95:
 * [https://sourceforge.net/projects/stapgui/ SystemTap GUI Sourceforge]: a GUI built for editting and running/graphing System``Tap scripts

= For Others =
 * [http://sourceware.org/systemtap/wiki/SystemtapDtraceComparison SystemTap/Dtrace Comparison]: Frequently requested impressions

 * [http://sourceware.org/systemtap/wiki/SystemtapGUIChimeComparison SystemTap GUI/Chime Comparison]: Who knew - systemtap has a gui?
= Talks/Papers =
 * [[OLS2006Talks|OLS2006 Talks]]:Systemtap-related talks given at OLS2006.
 * [[OSSRHDD2006Talks|OSS/RHDD2006 Talks]]: Talks/files given at Open Source Symposium/Red Hat Developer Day 2006 (Asia Pacific).
 * [[attachment:LWESFO06.pdf]] :!SystemTap High-level presentation from Linux World San Francisco August 2006.
 * [[LCA2007]]: Profiling Desktop Applications, given at Linux Conference Australia 2007 (Sydney).
 * [[RedHatSummit2007|Red Hat Summit 2007]]: Problem Solving with !SystemTap, given at Red Hat Summit 2007 (San Diego).
 * [[OLS2007SystemTapTutorial|OLS 2007 SystemTap Tutorial]]: Using !SystemTap for Dynamic Tracing and Performance Analysis (with examples and live CD)
 * [[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.
 * [[LW2008SystemTapTutorial|LinuxWorld Conference 2008 SystemTap Tutorial]]
 * [[LPC2008SystemTapTutorial|Linux Plumbers Conference 2008 SystemTap Tutorial]]
 * ScriptFest: Ideas for Systemtap Scriptfest at OLS 2008
 * [[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.2, 2019-11-18.

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 2020-07-08 18:17:40 by FChE)