Skip to content

Commit

Permalink
ipc: debug: Add shared memory heap to memory scan
Browse files Browse the repository at this point in the history
Newly added shared heap zones should be taken into account during
memory usage scanning.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211216232422.345164-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Karol Trzcinski authored and Mark Brown committed Dec 17, 2021
1 parent 182b682 commit 60ded27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/sound/sof/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 60ded27

Please sign in to comment.