D23114: [perf] Introduce ftrace marker

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.