-
Notifications
You must be signed in to change notification settings - Fork 46
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
Update 2.x logging #308
Update 2.x logging #308
Commits on Mar 8, 2024
-
Standalone logging module for cleaner omniperf_base.py
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 32fee2f - Browse repository at this point
Copy the full SHA 32fee2fView commit details -
Remove outdated remove_workload.py module
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for fd28a9b - Browse repository at this point
Copy the full SHA fd28a9bView commit details -
Dedicated logging function for each log level
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 7bff75e - Browse repository at this point
Copy the full SHA 7bff75eView commit details -
All logging should use call new functions
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 6a51289 - Browse repository at this point
Copy the full SHA 6a51289View commit details -
Connect verbosity flag to loglevel
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for e735b76 - Browse repository at this point
Copy the full SHA e735b76View commit details -
Replaced some straggling print statements with log functions
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for b7f9363 - Browse repository at this point
Copy the full SHA b7f9363View commit details -
Resolve merge conflict I missed in prev rebase
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for b19eb7b - Browse repository at this point
Copy the full SHA b19eb7bView commit details -
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 386adf2 - Browse repository at this point
Copy the full SHA 386adf2View commit details -
Signed-off-by: colramos-amd <colramos@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 89e34e4 - Browse repository at this point
Copy the full SHA 89e34e4View commit details -
tighten-up profile usage examples
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 6ba1561 - Browse repository at this point
Copy the full SHA 6ba1561View commit details -
enable a progress bar for running in profile mode - only enabled when
loglevel is set to ERROR Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 996aa57 - Browse repository at this point
Copy the full SHA 996aa57View commit details -
update setup_logging function to return loglevel; disable inclusion of
loglevel delimiter in output Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for df703fe - Browse repository at this point
Copy the full SHA df703feView commit details -
assign loglevel attribute in omniperf base class
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for c287d34 - Browse repository at this point
Copy the full SHA c287d34View commit details -
include loglevel function argument to "run_prof" routine
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 7dbe768 - Browse repository at this point
Copy the full SHA 7dbe768View commit details -
add indent support to console_log()
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for ebd553a - Browse repository at this point
Copy the full SHA ebd553aView commit details -
minor refactor of print_status()
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 5ee4544 - Browse repository at this point
Copy the full SHA 5ee4544View commit details -
add a profileMode option to capture_subprocess_output() - includes
indented output with profiler selection when enabled Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for ffadd04 - Browse repository at this point
Copy the full SHA ffadd04View commit details -
include ERROR delimiter directly for console_error() messsages
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for f1cabf2 - Browse repository at this point
Copy the full SHA f1cabf2View commit details -
remove duplicate process output within run_prof()
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for a0dd58d - Browse repository at this point
Copy the full SHA a0dd58dView commit details -
updates for run_prof() routine:
* add a profileMode keyword option, used to indent profiling output * update logic if forked process is not successful, output is displayed directly with INFO logging or lower; also dispaly output in ERROR mode if the process fails Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for deccf37 - Browse repository at this point
Copy the full SHA deccf37View commit details -
add a exit keyword to console_error function; allows multiple error
lines prior to code exit Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for a94a962 - Browse repository at this point
Copy the full SHA a94a962View commit details -
add quietmode option to setup_logging function
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 900008e - Browse repository at this point
Copy the full SHA 900008eView commit details -
adding --quiet and --verbose options to top-level help info; pass
quiet arg to setup_logging function Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for b739810 - Browse repository at this point
Copy the full SHA b739810View commit details -
Configuration menu - View commit details
-
Copy full SHA for a57331c - Browse repository at this point
Copy the full SHA a57331cView commit details -
refactor logging initialization into two steps:
(1) setup_logging_handler -> called prior to arg parsing (2) setup_logging_priority -> called after arg parsing Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for f189944 - Browse repository at this point
Copy the full SHA f189944View commit details -
use cached loglevel var in arguments to decide on status bar presence
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for f4c4592 - Browse repository at this point
Copy the full SHA f4c4592View commit details -
rework of logger.py setup to introduce another setup_file_handler() -
this function enables file-based logger output for use with profile mode Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 6c50ebb - Browse repository at this point
Copy the full SHA 6c50ebbView commit details -
update print_status() to use console logger; convert some info logs t…
…o debug logs Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for c605563 - Browse repository at this point
Copy the full SHA c605563View commit details -
enable file-logger in profiling workflow; turn some info messages int…
…o debug Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 57806a3 - Browse repository at this point
Copy the full SHA 57806a3View commit details -
update log summary at begin of profiling mode
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for c08bf02 - Browse repository at this point
Copy the full SHA c08bf02View commit details -
remove duplicate line after conflict cleanup due to rebase
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 6bcf3e3 - Browse repository at this point
Copy the full SHA 6bcf3e3View commit details -
refactor setting of local encoding; remove from top-level omniperf
wrapper and push into base class via a companion utility function Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 3c67670 - Browse repository at this point
Copy the full SHA 3c67670View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04c4bb1 - Browse repository at this point
Copy the full SHA 04c4bb1View commit details -
allow color formatter via env variable OMNIPERF_COLOR=1
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for fa2667d - Browse repository at this point
Copy the full SHA fa2667dView commit details
Commits on Mar 11, 2024
-
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3732ef9 - Browse repository at this point
Copy the full SHA 3732ef9View commit details -
Update src/omniperf_profile/profiler_base.py
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 360147b - Browse repository at this point
Copy the full SHA 360147bView commit details -
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f2002d1 - Browse repository at this point
Copy the full SHA f2002d1View commit details -
Update src/omniperf_profile/profiler_rocscope.py
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bbd0b28 - Browse repository at this point
Copy the full SHA bbd0b28View commit details -
Update src/utils/db_connector.py
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c760482 - Browse repository at this point
Copy the full SHA c760482View commit details -
Update src/omniperf_profile/profiler_base.py
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 64bc39b - Browse repository at this point
Copy the full SHA 64bc39bView commit details -
Update src/omniperf_profile/profiler_rocscope.py
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a79e7f4 - Browse repository at this point
Copy the full SHA a79e7f4View commit details -
Update src/utils/db_connector.py
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f4c2aff - Browse repository at this point
Copy the full SHA f4c2affView commit details -
Co-authored-by: Cole Ramos <colramos@amd.com> Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 81d3f57 - Browse repository at this point
Copy the full SHA 81d3f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d1967b - Browse repository at this point
Copy the full SHA 0d1967bView commit details -
move set_locale_encoding() to occur after logging is setup - allows
function to use console_error() directly (#308 (comment)) Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Configuration menu - View commit details
-
Copy full SHA for add814f - Browse repository at this point
Copy the full SHA add814fView commit details