* [PATCH BlueZ] src/log.h: Add line number information to log output.
@ 2026-04-03 5:18 294305068
2026-04-03 6:12 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: 294305068 @ 2026-04-03 5:18 UTC (permalink / raw)
To: linux-bluetooth; +Cc: caitao
From: caitao <caitao@kylinos.cn>
---
src/log.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/log.h b/src/log.h
index 1ed742a0d..14b54194e 100644
--- a/src/log.h
+++ b/src/log.h
@@ -57,8 +57,8 @@ void __btd_enable_debug(struct btd_debug_desc *start,
} while (0)
#define DBG(fmt, arg...) \
- DBG_IDX(0xffff, "%s:%s() " fmt, __FILE__, __func__, ## arg)
+ DBG_IDX(0xffff, "%s:%s():%u " fmt, __FILE__, __func__, __LINE__, ## arg)
#define error(fmt, arg...) \
- btd_error(0xffff, "%s:%s() " fmt, __FILE__, __func__, ## arg)
+ btd_error(0xffff, "%s:%s():%u " fmt, __FILE__, __func__, __LINE__, ## arg)
#define warn(fmt, arg...) \
- btd_warn(0xffff, "%s:%s() " fmt, __FILE__, __func__, ## arg)
+ btd_warn(0xffff, "%s:%s():%u " fmt, __FILE__, __func__, __LINE__, ## arg)
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-03 6:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 5:18 [PATCH BlueZ] src/log.h: Add line number information to log output 294305068
2026-04-03 6:12 ` [BlueZ] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox