[PATCH v1] perf tool: Align structs in arrays in .clang-format
From: Ian Rogers
Date: Wed Sep 02 2026 - 12:01:02 EST
Configure clang-format to ensure structs within arrays maintain left
alignment inside tools/perf/.clang-format. This prevents standard
formatting runs from arbitrarily squashing tabbed initialization pillars.
Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
Assisted-by: Antigravity:gemini-3.1-pro
---
tools/perf/.clang-format | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/.clang-format b/tools/perf/.clang-format
index e4cff363a603..7cc11f84da88 100644
--- a/tools/perf/.clang-format
+++ b/tools/perf/.clang-format
@@ -21,3 +21,4 @@ IncludeCategories:
# Your Project's Other Headers
- Regex: '^".*"'
Priority: 4
+AlignArrayOfStructures: Left
--
2.55.0.966.g6673acef38-goog