-
Notifications
You must be signed in to change notification settings - Fork 323
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
[BUG]sof-logger filter is not working #3530
Comments
The -F filter option has argument, we should use F: instead of F in the optstring. Fixes: thesofproject#3530 Signed-off-by: Pan Xiuli <[email protected]>
After the logger fix, still got error from dmesg:
|
@ktrzcinx After add some debug logs and find the issue is caused by unhandled
After add some hack into the kernel it seems the ipc can be send now.
And I got some wired outptut in trace: I try to filter all error message and only allow ipc and pipe logs, but it seems there are more logs came. Any idea? @ktrzcinx
|
@xiulipan you see probably traces cached before logger-run, it's because filtering rejects messages in FW, so messages sent before setting up filters are just shown. |
@ktrzcinx I just copy paste the log from the trace debug IPC, so I think the following logs should all follow the filter right?
|
The -F filter option has argument, we should use F: instead of F in the optstring. Fixes: #3530 Signed-off-by: Pan Xiuli <[email protected]>
Yes, I've added extra explanation in thesofproject/sof-docs#299
Great idea.
There are two main aspects
After setting up filters we will expect to receive only traces corresponding to used setup. If something won't be clear just let me know.
Ok, I will do this. |
@ktrzcinx New discussion issue for logger filter test case is thesofproject/sof-test#457 |
The -F filter option has argument, we should use F: instead of F in the optstring. Fixes: #3530 Signed-off-by: Pan Xiuli <[email protected]>
The -F filter option has argument, we should use F: instead of F in the optstring. Fixes: #3530 Signed-off-by: Pan Xiuli <[email protected]>
Describe the bug
When try to use sof-logger with filter feature with WIKI guide from https://thesofproject.github.io/latest/developer_guides/debugability/logger/index.html?highlight=logger#trace-filtering
The logger always report error with
or
To Reproduce
Reproduction Rate
10/10
Expected behavior
The logger should be able to accept the parameters and change the filter
Impact
unable to use VERBOSE trace to debug.
Environment
latest SOF with 8a5059a
The text was updated successfully, but these errors were encountered: