Tyler Yankee
fbb5b47fbf
instrumentation: Rename postTest and postInstall hooks
...
`postCTest` and `postCMakeInstall` are more closely aligned with the
corresponding snippets which cause cause them to trigger (`ctest` and
`cmakeInstall`, respectively), and as such serve as better indicators of
their true behavior.
2025-09-04 12:39:39 -04:00
Tyler Yankee
bf52fbfbc4
instrumentation: Add Google trace output
...
Add a feature to parse snippets into a trace file compatible with the
Google Trace Event Format.
Fixes : #26674
2025-09-03 15:24:10 -04:00
Martin Duffy
e6b37105ba
instrumentation: Collect custom content from CMake configure
...
Add a `CUSTOM_CONTENT` argument to `cmake_instrumentation()` for collecting
custom content from configure time.
Snippet files include a reference to a JSON file containing any `CUSTOM_CONTENT`
that was added by this command.
Fixes : #26703
2025-08-21 07:20:12 -04:00
Martin Duffy
a249e820a8
instrumentation: Add file lock for build daemon
...
Prevent starting instrumentation build daemon and related hooks if one is
already running, and when during `cmake --build`.
2025-08-06 11:45:40 -04:00
Martin Duffy
9dec460c8c
instrumentation: Store CDash settings in query files
...
Adds new `cdashSubmit` and `cdashVerbose` options to allow enabling
instrumentation in CDash submissions using query files or the
`cmake_instrumentation` command.
Fixes : #26783 , #26727
2025-07-14 15:44:52 -04:00
Martin Duffy
afa94bae1e
instrumentation: Rename queries field to options
...
Fixes : #26728
2025-07-10 16:25:07 -04:00
Martin Duffy
e01d12c14f
instrumentation: Prevent unnecessary query loading
...
Don't load queries from instrumentation directories when GetIsInTryCompile
or before ClearGeneratedQueries from previous configures has run.
2025-06-09 11:33:24 -04:00
Martin Duffy
4e7b37cad3
instrumentation: Quote command arguments to preserve separation
...
Fixes : #26702
2025-02-24 13:11:19 -05:00
Martin Duffy
314440c320
instrumentation: Run preBuild and postBuild hooks before and after make
...
Updates the preBuild and postBuild instrumentation hooks to run before and
after make is invoked.
2025-02-06 09:49:09 -05:00
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
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