aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Trzcinski <[email protected]>2021-12-16 17:24:22 -0600
committerMark Brown <[email protected]>2021-12-17 11:06:19 +0000
commit60ded273e4c047aec364f70195aced71a4082f90 (patch)
tree7adb8e7a9511ce76bafffb62f5a619fcc4143d89
parent182b682b9ab1348e07ea1bf9d8f2505cc67f9237 (diff)
ipc: debug: Add shared memory heap to memory scan
Newly added shared heap zones should be taken into account during memory usage scanning. Reviewed-by: Kai Vehmanen <[email protected]> Reviewed-by: Liam Girdwood <[email protected]> Signed-off-by: Karol Trzcinski <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--include/sound/sof/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/sof/debug.h b/include/sound/sof/debug.h
index 3ecb5793789d..38693e3fb514 100644
--- a/include/sound/sof/debug.h
+++ b/include/sound/sof/debug.h
@@ -19,6 +19,8 @@ enum sof_ipc_dbg_mem_zone {
SOF_IPC_MEM_ZONE_SYS_RUNTIME = 1, /**< System-runtime zone */
SOF_IPC_MEM_ZONE_RUNTIME = 2, /**< Runtime zone */
SOF_IPC_MEM_ZONE_BUFFER = 3, /**< Buffer zone */
+ SOF_IPC_MEM_ZONE_RUNTIME_SHARED = 4, /**< System runtime zone */
+ SOF_IPC_MEM_ZONE_SYS_SHARED = 5, /**< System shared zone */
};
/** ABI3.18 */