Skip to content

Add ftrace markers

David Edmundson requested to merge work/ftrace2 into master

This logs to a tracefs filesystem which can be viewed in tools such as gpuvis to see precise timings of activities in relation to other trace markers in X or graphic drivers.

This patch is loosely based on D23114. Though modified with thread safety, support for string building, and a RAII pattern for durations. Ultimately that expanded it somewhat.

Merge request reports