Skip to content

Some tracing bits

Guido Günther requested to merge guidog/phoc:tracing into main

This adds a --enable-dtrace option that makes DTRACE_PROBE* available to add tracepoints easily (we don't add any fixed ones yet). This also makes PHOC_TRACE_NO_INLINE effective to easily exempt some functions from inlining so they can easily be traced. Additionally it adds a bunch of systemtap scripts for tracing render loop duration, checking whether direct scanout is effective and to help with tracing activation tokens.

* meson: Spell Xwayland like on wayland.fdo

* build: Format meson options consistently

* tracing: Add support for systemtap probes

  We don't add any actual static trace points yet.
  
* helpers: Add tracing scripts

  Add two example scripts that help tracing the render loop
  
* tracing: Allow to exempt functions from inlining

  Allow to exempt functions from inlining when building when tracing is
  enabled.
  
* output: Don't inline frame submission

  Don't inline frame submission when tracing is enabled
  
* packaging: Allow to enable tracing via a build profile

Merge request reports