Skip to content

[rocprofiler-sdk] info log cleanup#7642

Draft
meserve-amd wants to merge 1 commit into
developfrom
users/meserve-amd/log-demotions
Draft

[rocprofiler-sdk] info log cleanup#7642
meserve-amd wants to merge 1 commit into
developfrom
users/meserve-amd/log-demotions

Conversation

@meserve-amd

Copy link
Copy Markdown
Contributor
  • Demotes several log messages from info to trace level
  • Removes extra newlines from kfd log messages
  • Promotes kfd dropped events log message to warning
  • Sanitizes newline characters on event_str coming from kfd-

Motivation

I found the log messages coming from our tests were very crwoded, so I trimmed down some of the worst offenders.

Technical Details

In most cases, there are simple demotions from info to trace for non-exceptional events. kfd.cpp's log messages all also had additional newlines which are not needed in our macro.

The KFD dropped events message is promoted to warning, this shouldn't usually happen.

The KFD event_str sometimes had newline characters in it which would be printed directly. This change makes it so they are printed as byte codes instead.

JIRA ID

Test Plan

Just CI, no new tests added

Test Result

Submission Checklist

- Demotes several log messages from info to trace level
- Removes extra newlines from kfd log messages
- Promotes kfd dropped events log message to warning
- Sanitizes newline characters on event_str coming from kfd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant