![]() |
lvs-devel
|
| To: | lvs-devel@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | [RFC][PATCH 1/5] IPVS: prefix EnterFunction and LeaveFunction msg with "IPVS:" |
| Cc: | netdev@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| From: | Hannes Eder <heder@xxxxxxxxxx> |
| Date: | Mon, 27 Jul 2009 15:46:16 +0200 |
From: Hannes Eder <hannes@xxxxxxxxxxxxxx>
Now all printk messages from IPVS are prefixed with "IPVS:".
Signed-off-by: Hannes Eder <heder@xxxxxxxxxx>
include/net/ip_vs.h | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index e01cc2d..e03524e 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -161,18 +161,18 @@ static inline const char *ip_vs_dbg_addr(int af, char
*buf, size_t buf_len,
} while (0)
#ifdef CONFIG_IP_VS_DEBUG
-#define EnterFunction(level) \
- do { \
- if (level <= ip_vs_get_debug_level()) \
- printk(KERN_DEBUG "Enter: %s, %s line %i\n", \
- __func__, __FILE__, __LINE__); \
- } while (0)
-#define LeaveFunction(level) \
- do { \
- if (level <= ip_vs_get_debug_level()) \
- printk(KERN_DEBUG "Leave: %s, %s line %i\n", \
- __func__, __FILE__, __LINE__); \
- } while (0)
+#define EnterFunction(level) \
+ do { \
+ if (level <= ip_vs_get_debug_level()) \
+ printk(KERN_DEBUG "IPVS: Enter: %s, %s line %i\n", \
+ __func__, __FILE__, __LINE__); \
+ } while (0)
+#define LeaveFunction(level) \
+ do { \
+ if (level <= ip_vs_get_debug_level()) \
+ printk(KERN_DEBUG "IPVS: Leave: %s, %s line %i\n", \
+ __func__, __FILE__, __LINE__); \
+ } while (0)
#else
#define EnterFunction(level) do {} while (0)
#define LeaveFunction(level) do {} while (0)
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [RFC][PATCH 3/5] IPVS: make friends with nf_conntrack, Hannes Eder |
|---|---|
| Next by Date: | [RFC][PATCH 4/5] IPVS: debugging output for ip_vs_update_conntrack, Hannes Eder |
| Previous by Thread: | [RFC][PATCH 3/5] IPVS: make friends with nf_conntrack, Hannes Eder |
| Next by Thread: | Re: [RFC][PATCH 1/5] IPVS: prefix EnterFunction and LeaveFunction msg with "IPVS:", Jan Engelhardt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |