diff --git a/slides/talk.svg b/slides/talk.svg index 9e77b3c..4e278b9 100644 --- a/slides/talk.svg +++ b/slides/talk.svg @@ -19,6 +19,36 @@ sodipodi:docname="talk.svg"> + + + + + + + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-0.03307291,-0.01436061)" /> - - - - - - + + + + + + + + inkscape:snap-to-guides="true" + inkscape:snap-intersection-paths="true"> image/svg+xml - + @@ -1287,7 +1329,7 @@ inkscape:groupmode="layer" id="layer5" inkscape:label="Title" - style="display:none"> + style="display:inline"> + x="147.54175" + y="0" /> This system is different than your desktop. Time in this system is spent differently. Produce additional, different informationwith LTTNG Userspace Tracing in Qt. - Get sampling performance informationwith Perf & Symbols. - Analyze the info to change your codewith Hotspot. + id="tspan1495" /> + x="184.14819" + y="0" /> + Get sampling performance informationwith Perf & Symbols. + Analyze the info to change your codewith Hotspot. + Produce additional, different informationwith LTTNG Userspace Tracing in Qt. Don't forget perf in your Don’t forget perfKernel Config! + y="43.648693" + style="line-height:1.25;fill:#ffffff;stroke-width:0.13229167px" + id="tspan1992">in your ernel config! + width="47.246593" + height="24.2526" + x="48.8391" + y="57.791019" /> YoctoBuildroot + transform="translate(-52.3159,7.9374997)"> + transform="translate(57.201331,7.9374997)"> @@ -1793,18 +1839,18 @@ sodipodi:role="line">image @@ -1823,7 +1869,7 @@ style="font-size:12.34722233px;fill:#ffffff;stroke-width:0.13229166px" y="22.867561" x="22.331051" - sodipodi:role="line">Debugsymbs: Debug SymbolsFor Profiling:For profiling:Always build Release with Debug info! #Compiled # Compiled with and without -O2 Debugsymbs: Debug Symbols90M We don't have space + style="fill:#ffffff;stroke-width:0.13229166px">We don’t have space How does the (embedded) world look like ? + sodipodi:role="line">How does the (embedded) world look like? Debugsymbs: Debug SymbolsHow does the (embedded) world look like ? + sodipodi:role="line">How does the (embedded) world look like? @@ -2109,12 +2155,12 @@ xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:7.4083333px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:0px;word-spacing:0px;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;opacity:1;vector-effect:none;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.13229167px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" x="52.096691" - y="64.198959" + y="62.876041" id="text1437">90M We don't have space + style="fill:#ffffff;stroke-width:0.13229166px">We don’t have space .debugon host(somewhere in SDK) Separate dwarf debug Info @@ -2214,7 +2260,7 @@ x="22.331051" y="22.867561" style="font-size:12.34722233px;fill:#ffffff;stroke-width:0.13229166px" - id="tspan1929-91">Debugsymbs: Debug SymbolsHow does the (embedded) world look like ? - Debugsymbs: - How does the (embedded) world look like ? + style="fill:#ffffff;stroke-width:0.13229166px">How does the (embedded) world look like? + transform="translate(-116.55624,-0.5953125)"> Architectures mismatch + sodipodi:role="line">Architecture mismatch ARM / MIPS + sodipodi:role="line">ARM/MIPS x86 target host + style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#marker2363);marker-end:url(#marker2607)" /> - Debugsymbs: - How does the (embedded) world look like ? Look for "PMU" in dmesg + sodipodi:role="line">Look for “PMU” in dmesg. -> on some ARM CPUs only core0 is counted. → On some ARM CPUs, only core0 is counted. Lets Get our debug info.Let’s get our debug info. @@ -2659,28 +2601,28 @@ width="93.683304" style="stroke-width:0.9847154" /> + x="160.28363" + y="0" /> Now We have our profilingNow that we have our profilingInfo, we need to process it. + y="86.743301" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:1.25;font-family:'Futura LT';-inkscape-font-specification:'Futura LT';fill:#ffffff;stroke-width:0.13229167px" + id="tspan2118">info, we need to process it. On the device unwind result looks like this + sodipodi:role="line">On the device, unwind result looks like this On the device unwind result looks like this + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12.34722233px;font-family:'Futura LT';-inkscape-font-specification:'Futura LT';fill:#ffffff;stroke-width:0.13229167px">On the device, unwind result looks like this Hotspot is a FOSS Linux UI for visualizing perf resultswritten in Qt and C++ … it uses perfparser from QtCreator… it uses perfparser from QtCreator … which uses libunwind / libdw… which uses libunwind/libdwfor unwinding even off-architecture! + id="tspan2274" + dx="0 0 0 0 0.37417734"> for unwinding even off-architecture! <Demo> @@ -2897,7 +2846,7 @@ y="126.62" x="22.331051" sodipodi:role="line" - id="tspan2274-7-2">99,5% courtesy goes to @milianw + id="tspan2274-7-2">99.5 % of the courtesy go to @milianw + style="display:none"> inside Qt + id="tspan2657"> inside Qt Great Source of InformationGreat source of informationExisting Visualization Tools, butExisting visualization tools, butTraces are mostly Kernel :( + id="tspan2691">traces are mostly kernel :( +