<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 7:43 PM, Raghavendra Talur <span dir="ltr">&lt;<a href="mailto:rtalur@redhat.com" target="_blank">rtalur@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">HI All,<div><br></div><div>I am sure there are many tricks hidden under sleeves of many Gluster developers.</div><div>I realized this when speaking to new developers. It would be good have a searchable thread of such tricks.</div><div><br></div><div>Just reply back on this thread with the tricks that you have and I promise I will collate them and add them to developer guide.</div><div><br></div><div><br></div><div>Looking forward to be amazed!</div><div><br></div><div>Thanks,</div><div>Raghavendra Talur</div><div><div><br></div></div></div></blockquote><div><br></div><div>I will start.</div><div><br></div><div>How to get a good visualization of performance data. </div><div><br></div><div><span style="font-size:13px">* clone flamegraph git repo git clone </span><a href="https://github.com/brendangregg/FlameGraph" target="_blank" style="font-size:13px">https://github.com/brendangregg/FlameGraph</a><br></div><div><div style="font-size:13px">* cd into clone dir</div><div style="font-size:13px">* run the program you are interested to take perf of</div><div style="font-size:13px">* perf record -F 800 -a -p &lt;PIDOFPROG&gt; -g -- sleep 60</div><div style="font-size:13px">* perf script | ./<a href="http://stackcollapse-perf.pl/" target="_blank">stackcollapse-perf.pl</a> &gt; out.perf-folded<br></div><div style="font-size:13px">* ./<a href="http://flamegraph.pl/" target="_blank">flamegraph.pl</a> out.perf-folded &gt; perf-kernel.svg</div><div style="font-size:13px">* view the svg file created in browser</div></div><div style="font-size:13px"><br></div><div style="font-size:13px"><br></div><div style="font-size:13px">A sample of what you would get is attached.</div><div style="font-size:13px"><br></div></div><br></div></div>