-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pta: stats: add commands to print clock and regulator trees #6521
Conversation
@jforissier, in #6481 (comment) you asked from the PTA command name to be singular (s/ |
@etienne-lms AFAICT singular tends to be more common when a noun is used as an adjective. I believe "driver info" is OK to mean "information about one or more driver(s)". |
Ok, I'll update. |
For " pta: stats: add commands to print clock and regulator trees" with fixup:
Do you have the |
Yes, I was waiting for #6499 to land first. |
|
By the way, testing with various configuration settings I saw an optee_os build issue when |
Add statistics PTA commands STATS_CMD_PRINT_DRIVERS_INFO to print device drivers information on console. The implementation currently allows to print the clock tree and the regulator tree to core console. Reviewed-by: Jerome Forissier <[email protected]> Signed-off-by: Etienne Carriere <[email protected]>
af6eb13
to
b20f7c6
Compare
I've rebased on master tip since #6487 has been merged. |
Please open a new PR, this one can be merged now. Thanks! |
Add statistics PTA commands
STATS_CMD_PRINT_DRIVERS_INFO
to print device drivers information on console. The implementation currently allows to print the clock tree and the regulator tree to core console.This is a follow-up of changes discussed in #6481.
I have picked commit "drivers: regulator: fix variable sized voltages fallback" from P-R #6487 latest state to ensure pta_stats.c successfully builds with clang (inclusion of regulator.h). I'll remove this commit and rebase this P-R on top of #6487 once its merged.