D23114: [perf] Introduce ftrace marker
Roman Gilg <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
romangg created this revision. romangg added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. romangg requested review of this revision. REVISION SUMMARY Adds a class for ftrace marking program flow of KWin. This used in conjunction with a tool like GPUvis can be very powerful. I use it at the moment for analyzing the compositing behavior of KWin on X11. For this I also apply a patch to the XServer adding the same capability[1]. Besides the class also some marking points have been added. Ftracing can be, if it has been built into the binary, activated via D-Bus. [1] https://gitlab.freedesktop.org/xorg/xserver/merge_requests/209 REPOSITORY R108 KWin BRANCH ftraceMarker REVISION DETAIL https://phabricator.kde.org/D23114 AFFECTED FILES CMakeLists.txt composite.cpp config-kwin.h.cmake data/org_kde_kwin.categories dbusinterface.cpp dbusinterface.h helpers/perf/ftrace_marker.cpp helpers/perf/ftrace_marker.h main.cpp org.kde.KWin.xml perf.cpp perf.h utils.cpp utils.h workspace.cpp To: romangg, #kwin Cc: 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