-
Notifications
You must be signed in to change notification settings - Fork 409
Add Perfetto tracing and a test output directory option #2742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jstone-lucasfilm
merged 43 commits into
AcademySoftwareFoundation:main
from
autodesk-forks:ppenenko/perfetto_and_output_dir
Feb 12, 2026
+899
−52
Merged
Changes from 42 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
d3e264d
Add Perfetto tracing infrastructure to MaterialXCore
ppenenko c147aaf
Exclude MxTrace.cpp when tracing disabled (zero overhead)
ppenenko ed2fcc0
Fix Perfetto SDK build on Windows
ppenenko 8b9b439
Improve tracing API: constexpr categories, material names, timestamps
ppenenko e5f1ca4
Skip Perfetto tracing during test discovery mode
ppenenko 7a55cc6
Add outputDirectory option for test artifact redirection
ppenenko 940cafb
Print output directory at end of test run for easy access
ppenenko fb056e3
Improve Perfetto tracing integration and suppress SDK warnings
ppenenko afb5b77
Rename tracing classes to follow MaterialX conventions
ppenenko 1cb1b4e
Add clarifying comments for Perfetto SDK integration
ppenenko afa4c2a
Refactor tracing API for cleaner design
ppenenko 6e1c923
Add Dispatcher::ShutdownGuard nested struct
ppenenko 5f84868
Add enableTracing runtime option in _options.mtlx
ppenenko b8cb920
Refactor tracing categories to use enum class
ppenenko dc10eb6
Add category dispatch to PerfettoSink::counter()
ppenenko 4633341
Remove unused resolveOutputPathWithSubdir method
ppenenko d8e2f8d
Move tracing to dedicated MaterialXTrace module
ppenenko b0d3003
Only build MaterialXTrace when tracing is enabled
ppenenko 232e01f
Enable tracing by default and in nightly CI
ppenenko 2b1254b
Add Perfetto trace artifact upload for extended builds
ppenenko ffa4a77
Fix an ambiguous comment
ppenenko a7dfa2f
Fix Linux build: link pthread for Perfetto SDK
ppenenko 8b7e95d
Fix MaterialXTrace CMake: use MTLX_MODULES instead of LIBRARIES
ppenenko baa407d
Suppress warnings-as-errors for Perfetto SDK on Unix
ppenenko 49e3ae2
Fix tracing build on GCC/Clang and iOS
ppenenko 2bd7203
Fix CMake: use COMPILE_FLAGS instead of COMPILE_OPTIONS for source files
ppenenko 4dba1fd
Fix Perfetto symbol visibility for shared library builds
ppenenko db91493
Isolate Perfetto SDK from DLL boundaries
ppenenko cf7d434
Fix Perfetto SDK compile flags for all build configurations
ppenenko b5c32bf
Fix Perfetto compile flags for monolithic builds
ppenenko fce8654
Exclude Perfetto SDK from coverage analysis
ppenenko 9db6ef1
Exclude Perfetto SDK from coverage, static analysis, and suppress MSV…
ppenenko 41fe787
Add /WX- to disable warnings-as-errors for Perfetto SDK on MSVC
ppenenko 7367222
Fix Perfetto trace artifact upload path
ppenenko 361eec6
Add tracing instrumentation to shader generation tests
ppenenko b927f21
Fix /reduced subdirectory creation when outputDirectory is set
ppenenko 6a46204
Merge branch 'main' into ppenenko/perfetto_and_output_dir
jstone-lucasfilm 31a6921
Merge branch 'main' into ppenenko/perfetto_and_output_dir
jstone-lucasfilm 8af946e
Use fully qualified mx::Tracing::Category in RenderGlsl.cpp
ppenenko 742a011
Rename MATERIALX_BUILD_TRACING to MATERIALX_BUILD_PERFETTO_TRACING
ppenenko e2ad867
Enable Perfetto tracing in a single CI build (Linux GCC 14)
ppenenko e098349
Gate Perfetto trace upload on matrix.extended_build_perfetto
ppenenko 2876b06
Merge branch 'main' into ppenenko/perfetto_and_output_dir
jstone-lucasfilm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.