Commit 85d04cf6 authored by Committed by Vlad Zahorodnii
Add ftrace markers
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.
Showing with 317 additions and 0 deletions