These are the slides from my FlameGraph talk from Linuxfest Northwest 2014. I will be putting the youtube video up in the next month or so (it takes a while for me to edit).
Who am I email: [email protected] ● web: www.systemtemplar.org ● github: github.com/shawn-sterling ● https://speakerdeck.com/shawnsterling member of --> <-- trust me, I have a huge beard aerodynamic --> <-- Sysadmin for 18 years, small start ups -> large enterprises <-- I am the guy (google: I wanna be the guy + sysadmin) <-- contributes to several open source projects including FlameGraph <-- Author of graphios (nagios plugin for graphite)
Traceback (most recent call last): File "tb.py", line 10, in a() File "tb.py", line 2, in a b() File "tb.py", line 5, in b c() File "tb.py", line 8, in c error() NameError: global name 'error' is not defined Example Stack Trace def a(): b() def b(): c() def c(): error() a() 1 ● 2 ● 3 ● 4 ● 5 ● 6 ● 7 ● 8 ● 9 ● 10
Traceback (most recent call last): File "tb.py", line 10, in a() File "tb.py", line 2, in a b() File "tb.py", line 5, in b c() File "tb.py", line 8, in c error() NameError: global name 'error' is not defined Example Stack Trace def a(): b() def b(): c() def c(): error() a() 1 ● 2 ● 3 ● 4 ● 5 ● 6 ● 7 ● 8 ● 9 ● 10
# ./check-debug-info -p 16882 File /usr/bin/bash has no debug info embedded. File /usr/lib64/ld-2.16.so has no debug info embedded. File /usr/lib64/libc-2.16.so has no debug info embedded. File /usr/lib64/libdl-2.16.so has no debug info embedded. File /usr/lib64/libnss_files-2.16.so has no debug info embedded. # rpm -qf /usr/lib64/ld-2.16.so glibc-2.16-34.fc18.x86_64 # yum install glibc-debuginfo
email: [email protected] ● web: www.systemtemplar.org ● github: github.com/shawn-sterling ● https://speakerdeck.com/shawnsterling And thanks to Brendan Gregg for writing FlameGraph Also thanks to Yichun Zhang (agentzh) for his toolkits
Image Credits Most of these images were found in google's image search with “labeled for non commercial reuse” turned on. No money will be made from these slides if it remains under my control. If I have incorrectly used your image please let me know and I will remove it. Fire Breather http://commons.wikimedia.org/wiki/File:Fire_breathing_20060715_7005_collien.jpg Rick and Morty Screenshot http://video.adultswim.com/rick-and-morty/ Stack Trace http://www.flickr.com/photos/miltown77/327120002/ Failboat http://www.flickr.com/photos/jeffmcneill/4252968654/ Kcachegrind http://itarato.blogspot.ca/2013/01/drupal-and-symfony-with-xdebug-and.html Code path map http://talks.php.net/show/confoo10/10 Snowflake http://www.flickr.com/photos/chaoticmind75/10152925944/ Snow Scene http://www.flickr.com/photos/vesiaphotography/12544068844/ Hand drawn flamegraph http://agentzh.org/ Demo http://www.flickr.com/photos/democonference/3948252064/ Show me http://csd-berlin.de/blog/2013/05/29/show-me-glamour-is-back-19-30-uhr-im-friedrichstadt-palast/ Picard meme http://foolz.us Jackie Chan meme http://alltheragefaces.com/ CPU pins http://ocgold.com/blog/?p=7240 Willy Wonka meme http://memegenerator.net/ Cereal Guy meme http://alltheragefaces.com/face/cereal-guy-cereal-guy-spitting cpu picture http://uk.hardware.info/ Symbols http://wojtas19.deviantart.com/art/Transmutation-Circle-115246997 Fire Dancer http://www.flickr.com/photos/sunphotoaz/4487436356/ My little ponies http://ex0artefact.deviantart.com/art/Mlp-and-What-the-fuck-386595361 Whats the problem pony http://mylittlefacewhen.com/f/5170/ lighter fluid guy http://www.flickr.com/photos/silvermarquis/477978519/ telephone pole http://www.flickr.com/photos/strollers/90725657/ nuts http://www.flickr.com/photos/cifor/9944748885/ Tell me more http://ww.jduensing.com/ off hours waiting https://www.flickr.com/photos/tiptoe/5608253489/ Safe http://safemanitoba.com/sites/default/files/styles/node_display_image/public/safeproduction650x290.png paper phoenix http://www.flickr.com/photos/jon_tucker/2707620458/ do it live http://www.mixcrate.com/img/ugc/covers/1/7/176688_l.jpg?v=713201235 debug car https://plus.google.com/103443672885327262273/about drive like you stole it http://cdn.a1decals.com/wp-content/uploads/drive-it-like-you-stole-it-w-n-1024x1024.jpeg please wait https://www.flickr.com/photos/askpang/6773635892/ linux filesystems http://cs.jhu.edu/~razvanm/fs-expedition/tux3.html what else http://www.enjoy-your-car.com/31-what-else.html sample pic http://images.cdn.fotopedia.com/flickr-3465412768-hd.jpg try it http://www.flickr.com/photos/mag3737/5191418684/ question marks http://www.flickr.com/photos/oberazzi/318947873/ thank you http://www.flickr.com/photos/nateone/3768979925/