77#include <zephyr/logging/log.h>
88#include <zephyr/sys/__assert.h>
99
10- LOG_MODULE_REGISTER (dram_debug , CONFIG_SOF_LOG_LEVEL );
10+ LOG_MODULE_REGISTER (dbg_path , CONFIG_SOF_LOG_LEVEL );
1111
1212static struct k_spinlock hot_path_lock ;
1313static unsigned int hot_path_depth ;
1414static const char * cold_path_fn ;
1515static bool hot_path_confirmed ;
1616
17- void mem_cold_path_enter (const char * fn )
17+ void dbg_path_cold_enter (const char * fn )
1818{
1919 k_spinlock_key_t key = k_spin_lock (& hot_path_lock );
2020
2121 cold_path_fn = fn ;
2222
2323 k_spin_unlock (& hot_path_lock , key );
2424}
25- EXPORT_SYMBOL (mem_cold_path_enter );
25+ EXPORT_SYMBOL (dbg_path_cold_enter );
2626
27- void mem_hot_path_start_watching (void )
27+ void dbg_path_hot_start_watching (void )
2828{
2929 k_spinlock_key_t key = k_spin_lock (& hot_path_lock );
3030
@@ -36,7 +36,7 @@ void mem_hot_path_start_watching(void)
3636 k_spin_unlock (& hot_path_lock , key );
3737}
3838
39- void mem_hot_path_confirm (void )
39+ void dbg_path_hot_confirm (void )
4040{
4141 k_spinlock_key_t key = k_spin_lock (& hot_path_lock );
4242
@@ -45,7 +45,7 @@ void mem_hot_path_confirm(void)
4545 k_spin_unlock (& hot_path_lock , key );
4646}
4747
48- void mem_hot_path_stop_watching (void )
48+ void dbg_path_hot_stop_watching (void )
4949{
5050 bool underrun , error ;
5151 k_spinlock_key_t key = k_spin_lock (& hot_path_lock );
0 commit comments