Commit Graph

6 Commits

Author SHA1 Message Date
Martin Duffy
2680f30caf instrumentation: Allow multiple CALLBACK arguments
Don't require quotes around CALLBACK argument and allow it to be passed
multiple times.
2025-02-04 11:15:20 -05:00
Martin Duffy
fc1d55f6a5 instrumentation: Add preBuild and postBuild hooks for ninja
Allows instrumentation indexing and callbacks to occur at the start or end of
every `ninja` invocation.
2025-02-04 11:15:11 -05:00
Alex Turbov
efa7c6aedf pre-commit: Add a hook to check whitespaces and conflict markers
The hook uses settings from `.gitattributes`.
2025-01-26 05:34:18 +04:00
Martin Duffy
9d34069ca8 instrumentation: Add targetLabels field to link snippets
Adds a new data field `targetLabels` to link snippets which contains a list of
text labels from the LABELS target property.
2025-01-17 11:07:30 -05:00
Martin Duffy
32444714e5 instrumentation: Update tests so that snippet verification runs
Corrects regex matching in Tests/RunCMake/instrumentation so that snippet
verification tests aren't skipped over.
2025-01-17 10:30:09 -05:00
Martin Duffy
097d4fd1b5 instrumentation: Collect and record project build system metrics
Add a feature for collecting build instrumentation for CMake projects.

Issue: #26099
2025-01-15 09:16:50 -05:00