Size: 15730
Comment: Clarify glib and glibc
|
Size: 12208
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
* [[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) |
|
Line 7: | Line 14: |
* tracing user programs with systemtap, part [[https://qiita.com/t-tkd3a/items/3be2c93721fb354394bc|1]] [[https://qiita.com/t-tkd3a/items/8d11dc71b9094388bf20|2]] (japanese) * [[https://eklitzke.org/how-sytemtap-userspace-probes-work|how systemtap userspace probes work]] * [[https://twitter.com/eklitzke/status/963546743047643136|stap/dtrace probes in bitcoin]] * [[ https://mahmoudhatem.wordpress.com/2018/01/15/from-memory-request-to-pl-sql-source-line/|from memory request to pl/sql source line]] * [[https://laurent-leturgez.com/2017/12/22/profiling-java-application-with-systemtap/|profiling java applications (without restarting)]] * [[https://github.com/leitao/htm_torture/tree/isolation/systemtap|systemtap tools used for finding linux kernel bug CVE-2017-1000255]] * [[https://qiita.com/noborus/items/16ea90339a637d0f40f7|postgresql temporary tables (japanese)]] * [[https://github.com/sthima/libstapsdt|neat dynamic sdt.h probe generator]] * [[https://mahmoudhatem.wordpress.com/2017/11/15/enhancing-dbms_output-using-systemtap/|enhancing oracle DBMS_OUTPUT]] * [[https://sourceware.org/ml/systemtap/2017-q4/msg00131.html|systemtap - bpf comparison]] * [[https://blog.cloudflare.com/perfect-locality-and-three-epic-systemtap-scripts/|perfect locality and three epic systemtap scripts]] * [[https://bdrouvot.wordpress.com/2017/11/01/systemtap-for-postgresql-toolkit/|postgresql cmdline processing with embedded-C]] * [[https://blog.cloudflare.com/how-to-monkey-patch-the-linux-kernel/|how to monkey-patch (keyboard remap) the linux kernel]] * [[https://bdrouvot.wordpress.com/2017/09/30/systemtap-and-oracle-rdbms-io-and-network-traffic/|systemtap on oracle rdbms, i/o and network]] * [[http://jorgar.tumblr.com/post/165737151724/tracing-rmdir-system-calls-with-systemtap|rmdir whodunnit]] * [[https://github.com/SSSD/sssd/pull/261|systemtap probes in SSSD]] * [[https://kafka-summit.org/sessions/single-data-hub-services-feed-100-billion-messages-per-day/|conference talk about kafka tuning to fix]] [[https://issues.apache.org/jira/browse/KAFKA-4614|this bug]] * [[https://alexandrnikitin.github.io/blog/transparent-hugepages-measuring-the-performance-impact/|transparent hugepages - performance]] * [[https://www.loxodata.com/post/systemtap/|tracing postgresql (french)]] * [[https://bdrouvot.wordpress.com/2017/06/05/systemtap-aggregate-by-database/|aggregate reports by database/process name]] * [[http://justin-stephenson.blogspot.ca/2017/05/measuring-sssd-performance-with.html|measuring SSSD performance with stap]] * [[http://blog.bayrepo.net/post/systemtap-chastj-3-napishem-svoj-probe|signal traffic analysis with stap (russian)]] * [[http://flightoftheunix.blogspot.ca/2017/02/linux-hunting-of-shellz-with-system-tap.html|hunting for shells/ttys using stap]] * [[http://flightoftheunix.blogspot.ca/2017/02/linux-hunting-for-beaconing-using.html|hunting for beaconing using stap]] * [[http://qiita.com/kentaost/items/1c749012d21fb2c8745e|uprobes api, without systemtap (japanese)]] * [[https://docs.python.org/3.6/howto/instrumentation.html|systemtap/dtrace instrumentation merged into in cpython 3.6+]] * [[http://blog.livedoor.jp/sonots/archives/48536396.html|copy-on-write faults in ruby vm (japanese)]] * [[https://github.com/detailyang/systemtap-toolkit|systemtap toolkit - sample scripts]] * [[http://2016.hroug.hr/eng/Program/Build-your-own-Database-Firewall-using-SystemTap|talk on database-firewalling with systemtap]] * [[https://lukas.zapletalovi.com/2016/08/probing-ruby-20-apps-with-systemtap-in-rhel7.html|probing ruby 2 apps in rhel7]] * [[https://openresty.org/posts/dynamic-tracing/|dynamic tracing - agentzh (chinese)]] * [[https://github.com/dyninst/dyninst/issues/50#issuecomment-223466062|diagnosing glibc malloc deadlocks]] * [[https://mahmoudhatem.wordpress.com/2016/04/18/systemtap-a-mini-oracle-db-firewall/|firewalling oracle SQL with guru mode]] * [[http://externaltable.blogspot.ca/2016/03/systemtap-guru-mode-and-oracle-sql.html|patching oracle SQL parsing with guru mode]] * [[http://kernhack.hatenablog.com/entry/2016/02/29/001131|current-task state peek via embedded-C (japanese)]] * [[https://fosdem.org/2016/schedule/event/systemtap/|systemtap security band-aids]] [[http://video.fosdem.org/2016/k1105/applying-band-aids-over-security-wounds-with-systemtap.mp4|video]] * [[https://tecnocode.co.uk/2016/01/29/instrumenting-the-glib-main-loop-with-dunfell/|instrumenting the GLib main loop with Dunfell]] * [[http://www.erlang-factory.com/static/upload/media/1399288388410589dtrace.pdf|dynamic tracing in erlang (pdf)]] * [[https://mahmoudhatem.wordpress.com/2016/01/25/assessing-impact-of-major-page-fault-on-oracle-database-systemtap-in-action/|major page faults]] |
|
Line 53: | Line 21: |
[[SystemTapReleases|Archive of SystemTap releases]] '''The current release is 3.3, 2018-06-08.''' | [[SystemTapReleases|Archive of SystemTap releases]] '''The current release is 4.4, 2020-11-09.''' |
Line 85: | Line 53: |
* [[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. | |
Line 90: | Line 59: |
* [[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]] |
|
Line 91: | Line 72: |
* [[MysqlMarkers|Mysql]] * [[MozillaMarkers|Mozilla]] * [[PerlMarkers|Perl]] |
|
Line 95: | Line 73: |
* [[JavaMarkers|Java]] | * [[QemuMarkers|QEMU]] |
Line 97: | Line 75: |
* [[LibVirtMarkers|libvirt]] * [[QemuMarkers|QEMU]] * [[glibcMarkers| glibc standard libraries]] * [[Glib2Markers|Glib for GTK+ and GNOME]] |
* [[SSSDMarkers|SSSD]] |
Line 102: | Line 77: |
* [[PHPMarkers|PHP]] | |
Line 104: | Line 78: |
* [[SSSDMarkers|SSSD]] * [[LibGuestFSMarkers|libguestfs]] * [[NodejsMarkers|Node.js]] * [[MariaDBMarkers|MariaDB]] |
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
Documentation
Language Reference (html, pdf): A compendium of SystemTap scripting language elements
Tutorial (html, pdf): A walk-through that give a taste of SystemTap.
VIM Syntax Highlighting for SystemTap: A short tutorial
SystemTap FAQ: Frequently Asked Questions on SystemTap.
Tips: A collection of FAQs / advice
Porting Dtrace Scripts to SystemTap: Example conversions of DTrace scripts into SystemTap scripts
How to report bugs: How to collect important information to let developers help you
Wishlist: Frequently requested features
Test Results: Look-up weekly SystemTap test reports.
Test Suites: How to test SystemTap
Applications
Examples in Code Repository: Examples sorted by name and keywords.
War Stories: A collection of systemtap demos and usage stories
Scripts & Tools: A repository of useful scripts and script ideas
Sosreport -- A unified tool for collecting system logs and other debug information includes a SystemTap plugin, systemtap.py
bootlimn - A visualization and analysis tool for the Linux boot process using SystemTap
Mortadelo - A graphical viewer for all the file-related system calls that happen in your Linux system. (LWN article)
Systemtap generator for simple timings collection (includes an example of tracing NFS performance)
Making Do without Debugging Information: Using SystemTap when your kernel lacks debugging information.
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.
Using Markers: A description of how to use kernel markers with SystemTap.
Using Static User Markers: A description of how to build postgres so that SystemTap static user markers are enabled.
Adding User Space Probing to an Application: A simple example adding markers to a user-space application with SystemTap.
User-Space Probe Implementation: A tool-writer's guide to the implementation of user-space probes.
- Applications with built-in User-Space Markers:
SystemTap GUI Sourceforge: A GUI built for editing and running/graphing SystemTap scripts
SystemTap Starters: A collection of simple scripts to help beginners.
Development
Tapset Developer's Guide: guidelines for tapset writers
TapsetStatus: maintenance status of tapsets
utrace: utrace resources
TaskFinder: Information on the 'task_finder' layer.
Developer Setup Tips: Contains information on setting up a network console
SystemTap Release Guide: Instructions for creating a new release
SystemTap Documentation Updates: Instructions for updating the web documentation
SecureBoot: Information on Systemtap's UEFI Secure Boot support
Comparisons/Reviews/Critiques
Myths: Myths about systemtap
SystemTap/Dtrace Comparison: Frequently requested impressions
stap/stapbpf Comparison: Comparison between stap and stapbpf.
Talks/Papers
OLS2006 Talks:Systemtap-related talks given at OLS2006.
OSS/RHDD2006 Talks: Talks/files given at Open Source Symposium/Red Hat Developer Day 2006 (Asia Pacific).
LWESFO06.pdf :SystemTap High-level presentation from Linux World San Francisco August 2006.
LCA2007: Profiling Desktop Applications, given at Linux Conference Australia 2007 (Sydney).
Red Hat Summit 2007: Problem Solving with SystemTap, given at Red Hat Summit 2007 (San Diego).
OLS 2007 SystemTap Tutorial: Using SystemTap for Dynamic Tracing and Performance Analysis (with examples and live CD)
LinuxConf.eu: SystemTap and kdump workshop (updating/creating page)
Fedora Mini-Conf at Linux Conference Australia 2008 (Melbourne): Writing SystemTap Scripts.
ScriptFest: Ideas for Systemtap Scriptfest at OLS 2008
GNOME.Asia Summit 2008 (Beijing): Writing SystemTap Scripts (different from my Melbourne talk).
SystemTap: Instrumenting the Linux Kernel for Analyzing Performance and Functional Problems
LFCS-2009-04.pdf: Linux Foundation Collaboration Summit 2009, San Francisco. Systemtap status & community issues.
Investigando o Kernel com SystemTap: an introductory talk in portuguese given at TcheLinux 2009 - Santa Cruz do Sul. Slides in pt_BR.
Red Hat January 27, 2010 Webinar: An introductory talk showing applications of the SystemTap examples scripts.
RMLL 2010: SystemTap: Full System Observability for Linux (general introduction for system people)
HaxoGreen 2010: SystemTap: Full System Observability for Linux (general introduction for security people)
Open Source Developers' Conference / France 2010: Tracing and profiling production code with SystemTap (general introduction for application people)
Free Software and Open Source Symposium / Seneca 1010: SystemTap: System wide probing on linux focusing on user space ( Slides, Presentation )
Solutions Linux / Open Source 2011, Paris, France SystemTap : observabilité intégrale des systèmes Linux