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

xtest: stats: used exported PTA API + print clock/regulator trees #717

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

etienne-lms
Copy link
Contributor

This P-R depends on OP-TEE/optee_os#6521.

@@ -59,6 +33,8 @@ static int usage(void)
fprintf(stderr, " --memleak Dump memory leak data on secure console\n");
fprintf(stderr, " --ta Print loaded TAs context\n");
fprintf(stderr, " --time Print REE and TEE time\n");
fprintf(stderr, " --clocks Dump clock tree on secure console\n");
fprintf(stderr, " --regulators Dump regulator tree on secure console\n");
Copy link
Contributor

Choose a reason for hiding this comment

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

Wrong commit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, sorry, i'll fix.
Thanks.

@etienne-lms
Copy link
Contributor Author

comment above addressed.

Copy link
Contributor

@jforissier jforissier left a comment

Choose a reason for hiding this comment

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

Reviewed-by: Jerome Forissier <[email protected]>

Rely on pta_stats.h header file for the statistics PTA API definition
rather than using a local definition.

Reviewed-by: Jerome Forissier <[email protected]>
Signed-off-by: Etienne Carriere <[email protected]>
Add 'xtest --stats' options '--clocks' and '--regulators' to
respectively dump OP-TEE core clock tree and regulator tree to
the secure console.

Reviewed-by: Jerome Forissier <[email protected]>
Signed-off-by: Etienne Carriere <[email protected]>
@etienne-lms
Copy link
Contributor Author

review tag applied

@jforissier jforissier merged commit 4fabb34 into OP-TEE:master Dec 8, 2023
1 check passed
@etienne-lms etienne-lms deleted the stats branch June 17, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants