-
Notifications
You must be signed in to change notification settings - Fork 349
sof performance build enabling #6322
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| CONFIG_PERFORMANCE_COUNTERS=y | ||
|
||
| CONFIG_PERFORMANCE_COUNTERS_RUN_AVERAGE=y | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -238,7 +238,9 @@ enum { | |
| (uint32_t)((pcd)->cpu_delta_peak)) | ||
|
|
||
| #define comp_perf_avg_info(pcd, comp_p) \ | ||
| comp_info(comp_p, "perf comp_copy cpu avg %u (current peak %u)",\ | ||
| comp_info(comp_p, "perf comp_copy samples %u period %u cpu avg %u peak %u",\ | ||
| (uint32_t)((comp_p)->frames), \ | ||
| (uint32_t)((comp_p)->period), \ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. BTW renaming |
||
| (uint32_t)((pcd)->cpu_delta_sum), \ | ||
| (uint32_t)((pcd)->cpu_delta_peak)) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@btian1 Can you split this patch into 2 separate patches with the first one to introduce the macros and the second one for enabling perf build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, Can you please fix your name in the sign-off?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let me check, I already tried to fix sign off.
ok, seems change too much in one patch is not a good way , let me split based on you, marc, Liam's requirement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be better to keep the value NO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrula-song this overlay is not used by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@btian1 The signed-off is still wrong, you should have proper full name there.
Also, I recommend @ranj063 's idea of splitting to two patches. One to move the task perf tracking to new interface and a separate patch to add the performance build.