aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2017-02-27 13:38:15 -0800
committerMartin Braun <martin.braun@ettus.com>2017-02-27 15:14:56 -0800
commit0802747072b3b8506f992141deb40af0f9df0b81 (patch)
tree644709103c6538ed599e2aee5d02d5d1a48cbec2 /host/lib
parent644ee82123987b4271e97f088c758f1eee86c880 (diff)
downloaduhd-0802747072b3b8506f992141deb40af0f9df0b81.tar.gz
uhd-0802747072b3b8506f992141deb40af0f9df0b81.tar.bz2
uhd-0802747072b3b8506f992141deb40af0f9df0b81.zip
e100: cleanup dangling UHD_LOG macros
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/e100/e100_mmap_zero_copy.cpp26
1 files changed, 11 insertions, 15 deletions
diff --git a/host/lib/usrp/e100/e100_mmap_zero_copy.cpp b/host/lib/usrp/e100/e100_mmap_zero_copy.cpp
index 4e698eae9..37a87a669 100644
--- a/host/lib/usrp/e100/e100_mmap_zero_copy.cpp
+++ b/host/lib/usrp/e100/e100_mmap_zero_copy.cpp
@@ -111,15 +111,13 @@ public:
(_rb_size.num_rx_frames + _rb_size.num_tx_frames) * _frame_size;
//print sizes summary
- UHD_LOG
- << "page_size: " << page_size
- << "frame_size: " << _frame_size
- << "num_pages_rx_flags: " << _rb_size.num_pages_rx_flags
- << "num_rx_frames: " << _rb_size.num_rx_frames
- << "num_pages_tx_flags: " << _rb_size.num_pages_tx_flags
- << "num_tx_frames: " << _rb_size.num_tx_frames
- << "map_size: " << _map_size
- ;
+ UHD_LOGGER_DEBUG("E100") << "page_size: " << page_size;
+ UHD_LOGGER_DEBUG("E100") << "frame_size: " << _frame_size;
+ UHD_LOGGER_DEBUG("E100") << "num_pages_rx_flags: " << _rb_size.num_pages_rx_flags;
+ UHD_LOGGER_DEBUG("E100") << "num_rx_frames: " << _rb_size.num_rx_frames;
+ UHD_LOGGER_DEBUG("E100") << "num_pages_tx_flags: " << _rb_size.num_pages_tx_flags;
+ UHD_LOGGER_DEBUG("E100") << "num_tx_frames: " << _rb_size.num_tx_frames;
+ UHD_LOGGER_DEBUG("E100") << "map_size: " << _map_size;
//call mmap to get the memory
_mapped_mem = ::mmap(
@@ -134,12 +132,10 @@ public:
size_t send_buff_off = send_info_off + (_rb_size.num_pages_tx_flags * page_size);
//print offset summary
- UHD_LOG
- << "recv_info_off: " << recv_info_off
- << "recv_buff_off: " << recv_buff_off
- << "send_info_off: " << send_info_off
- << "send_buff_off: " << send_buff_off
- ;
+ UHD_LOGGER_DEBUG("E100") << "recv_info_off: " << recv_info_off;
+ UHD_LOGGER_DEBUG("E100") << "recv_buff_off: " << recv_buff_off;
+ UHD_LOGGER_DEBUG("E100") << "send_info_off: " << send_info_off;
+ UHD_LOGGER_DEBUG("E100") << "send_buff_off: " << send_buff_off;
//pointers to sections in the mapped memory
ring_buffer_info (*recv_info)[], (*send_info)[];