Skip to content

Conversation

@lyakh
Copy link
Collaborator

@lyakh lyakh commented Sep 10, 2021

With dynamic pipelines, pipelines can be created and destroyed often enough at runtime, which makes dumping heap statue for each such action too noisy.

With dynamic pipelines, pipelines can be created and destroyed often
enough at runtime, which makes dumping heap statue for each such
action too noisy.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this atm for debug with allocator, I think its a debug option though which you could turn off.

@lyakh
Copy link
Collaborator Author

lyakh commented Sep 10, 2021

We need this atm for debug with allocator, I think its a debug option though which you could turn off.

@lgirdwood Don't think I've enabled any additional debug options, I think it's printed in default configuration. But sure, nothing critical. Would just be good to reduce that noise, it's really filling the log when testing quick pipeline start / stop sequences and using up performance

@keyonjie
Copy link
Contributor

maybe we can add condition e.g.

 #if CONFIG_DEBUG_HEAP
 heap_trace_all(0);
#endif

@lgirdwood
Copy link
Member

@lyakh @keyonjie lets make this a Kconfig debug option.

@sys-pt1s
Copy link

Can one of the admins verify this patch?

@kv2019i
Copy link
Collaborator

kv2019i commented Oct 13, 2022

@lyakh Still valid?

@lyakh
Copy link
Collaborator Author

lyakh commented Oct 14, 2022

@lyakh Still valid?

@kv2019i I think it's only for XTOS, so, as long as nobody complains about this there, we can close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants