Move some RTC_LOG to RTC_DLOG.
Some locations in the WebRTC codebase RTC_LOG the value of the __FUNCTION__ macro which probably is useful in debug mode. Moving these instances to RTC_DLOG saves ~10 KiB on arm64. Bug: webrtc:11986 Change-Id: I5d81cc459d2850657a712b9aed80c187edf49a3a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203981 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33086}
This commit is contained in:
committed by
Commit Bot
parent
70f9e249d5
commit
3b68aa346a
@ -42,8 +42,6 @@ int32_t DeviceInfoLinux::Init() {
|
||||
DeviceInfoLinux::~DeviceInfoLinux() {}
|
||||
|
||||
uint32_t DeviceInfoLinux::NumberOfDevices() {
|
||||
RTC_LOG(LS_INFO) << __FUNCTION__;
|
||||
|
||||
uint32_t count = 0;
|
||||
char device[20];
|
||||
int fd = -1;
|
||||
@ -75,8 +73,6 @@ int32_t DeviceInfoLinux::GetDeviceName(uint32_t deviceNumber,
|
||||
uint32_t deviceUniqueIdUTF8Length,
|
||||
char* /*productUniqueIdUTF8*/,
|
||||
uint32_t /*productUniqueIdUTF8Length*/) {
|
||||
RTC_LOG(LS_INFO) << __FUNCTION__;
|
||||
|
||||
// Travel through /dev/video [0-63]
|
||||
uint32_t count = 0;
|
||||
char device[20];
|
||||
|
||||
Reference in New Issue
Block a user