Skip to content
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

adding perfetto-validation-script #66

Merged
merged 17 commits into from
Jun 24, 2022
Merged

adding perfetto-validation-script #66

merged 17 commits into from
Jun 24, 2022

Conversation

ratamima
Copy link
Contributor

adding perfetto-validation-script

Copy link
Collaborator

@jrmadsen jrmadsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename the file to validate-perfetto-proto.py.

I like the code to be formatted. Run pip install -U black and then black -t py38 -l 90 validate-perfetto-proto.py

tests/validate_perfetto.py Outdated Show resolved Hide resolved
tests/validate_perfetto.py Outdated Show resolved Hide resolved
tests/validate_perfetto.py Outdated Show resolved Hide resolved
tests/validate_perfetto.py Outdated Show resolved Hide resolved
tests/validate_perfetto.py Outdated Show resolved Hide resolved
tests/validate_perfetto.py Outdated Show resolved Hide resolved
@jrmadsen jrmadsen added perfetto Issue affects/involves perfetto features/capabilities testing Extends/improves/modifies testing labels Jun 22, 2022
ratamima and others added 13 commits June 23, 2022 12:45
Co-authored-by: Jonathan R. Madsen <[email protected]>
Co-authored-by: Jonathan R. Madsen <[email protected]>
Co-authored-by: Jonathan R. Madsen <[email protected]>
Co-authored-by: Jonathan R. Madsen <[email protected]>
* Fixed mismatch message in validate-timemory-json

* validate_perfetto.py -> validate-perfetto-proto.py

* Add python-source-validate-perfetto

- python-source-validate-perfetto uses validate-python-proto.py to validate perfetto output
- renamed python-source-check test to python-source-validate timemory

* Moved python-source-validate tests outside of cat command if block

- these tests don't rely on OMNITRACE_CAT_COMMAND

* CMake/CTest OMNITRACE_ADD_PYTHON_VALIDATION_TEST function

- generalized function for performing validation test with validate-{timemory-json,perfetto-proto}.py scripts
@jrmadsen jrmadsen added the omnitrace-python Involves the omnitrace python profiler executable label Jun 23, 2022
@jrmadsen jrmadsen merged commit cfa16cb into ROCm:main Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
omnitrace-python Involves the omnitrace python profiler executable perfetto Issue affects/involves perfetto features/capabilities testing Extends/improves/modifies testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants