perfetto: Add a .clang-format for the directory.
authorEmma Anholt <emma@anholt.net>
Fri, 24 Mar 2023 00:33:13 +0000 (17:33 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 30 Mar 2023 02:19:34 +0000 (02:19 +0000)
commitda78d5d729b1800136dd713b68492cb339993f4a
tree33d4f634a9ef0f014366602c810d30ca67dff28d
parent66a8f7dcdb8f0ae1ecea5719d54fc69b3787a1a2
perfetto: Add a .clang-format for the directory.

I was frustrated trying to write code and not be able to just mash ^K^F to
format what I'd written.  This .clang-format is just cargo-cult of turnip
with a few tweaks to reduce the diff to the current directory contents.
The remaining deltas in the reformat look decent to me, and mostly bring
things closer to mesa-vague-consensus style.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22157>
src/util/perf/.clang-format [new file with mode: 0644]
src/util/perf/cpu_trace.h
src/util/perf/u_perfetto.h
src/util/perf/u_trace.c
src/util/perf/u_trace.h
src/util/perf/u_trace_priv.h