D23114: [perf] Introduce ftrace marker

Vlad Zagorodniy noreply at phabricator.kde.org
Mon Aug 12 21:44:03 BST 2019


zzag added a comment.


  I think you could just add FtraceMarker class to KWin core and use it directly.

INLINE COMMENTS

> CMakeLists.txt:302
>  option(KWIN_BUILD_TABBOX "Enable building of KWin Tabbox functionality" ON)
> +option(KWIN_BUILD_PERF "Build internal tools for performance analysis at runtime." ON)
>  option(KWIN_BUILD_XRENDER_COMPOSITING "Enable building of KWin with XRender Compositing support" ON)

Not sure whether it has to be on by default. This is kind of development thing.

> composite.cpp:28
>  #include "overlaywindow.h"
> +#include "perf.h"
>  #include "platform.h"

Wrap it in #ifdef KWIN_BUILD_PERF

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D23114

To: romangg, #kwin
Cc: zzag, 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190812/aad72eb7/attachment.html>


More information about the kwin mailing list