Skip to content

Add memory usage scan possibility - #2459

Merged
kv2019i merged 4 commits into
thesofproject:topic/sof-devfrom
ktrzcinx:mem-leak
Nov 2, 2020
Merged

kv2019i merged 4 commits into
thesofproject:topic/sof-devfrom
ktrzcinx:mem-leak

Conversation

@ktrzcinx

@ktrzcinx ktrzcinx commented Sep 21, 2020 •

Copy link
Copy Markdown
Member

Such an mechanism may be used to monitor memory utilization and memory leaks.

Possible memory leaks tracking was main motivation for this mechanism. To scan them, memory usage should be scanned before topology creation, then some functional test should be done, topology deletion and iterate whole process a few times - when memory usage grows, then some memory leak is present. To efficiently track memory leaks, memory utilization must be scanned at strictly defined moments in FW life-cycle, it's why scan should be done on host request instead regular memory utilization printing (eq. in trace system).

FW part: thesofproject/sof#3389

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

Labels

ABI involves ABI changes, need extra attention

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants