use pretty function name in buffer_pool debug

- this avoids ambiguity between names, for example
  in reassemble_rx_sdus() for rlc_am an rlc_um
master
Andre Puschmann 7 years ago
parent 9a10f5f6d4
commit 85028d2aed

@ -66,7 +66,7 @@
#define SRSLTE_BUFFER_POOL_LOG_ENABLED #define SRSLTE_BUFFER_POOL_LOG_ENABLED
#ifdef SRSLTE_BUFFER_POOL_LOG_ENABLED #ifdef SRSLTE_BUFFER_POOL_LOG_ENABLED
#define pool_allocate (pool->allocate(__FUNCTION__)) #define pool_allocate (pool->allocate(__PRETTY_FUNCTION__))
#define SRSLTE_BUFFER_POOL_LOG_NAME_LEN 128 #define SRSLTE_BUFFER_POOL_LOG_NAME_LEN 128
#else #else
#define pool_allocate (pool->allocate()) #define pool_allocate (pool->allocate())

Loading…
Cancel
Save