<table><tr><td style="">romangg created this revision.<br />romangg added a reviewer: KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />romangg requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23114">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Adds a class for ftrace marking program flow of KWin. This used in conjunction<br />
with a tool like GPUvis can be very powerful.</p>
<p>I use it at the moment for analyzing the compositing behavior of KWin on X11.<br />
For this I also apply a patch to the XServer adding the same capability[1].</p>
<p>Besides the class also some marking points have been added. Ftracing can be,<br />
if it has been built into the binary, activated via D-Bus.</p>
<p>[1] <a href="https://gitlab.freedesktop.org/xorg/xserver/merge_requests/209" class="remarkup-link" target="_blank" rel="noreferrer">https://gitlab.freedesktop.org/xorg/xserver/merge_requests/209</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>ftraceMarker</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23114">https://phabricator.kde.org/D23114</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
composite.cpp<br />
config-kwin.h.cmake<br />
data/org_kde_kwin.categories<br />
dbusinterface.cpp<br />
dbusinterface.h<br />
helpers/perf/ftrace_marker.cpp<br />
helpers/perf/ftrace_marker.h<br />
main.cpp<br />
org.kde.KWin.xml<br />
perf.cpp<br />
perf.h<br />
utils.cpp<br />
utils.h<br />
workspace.cpp</div></div></div><br /><div><strong>To: </strong>romangg, KWin<br /><strong>Cc: </strong>kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart<br /></div>