From patchwork Mon Jul 27 13:46:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Eder X-Patchwork-Id: 30270 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 300CAB6F1E for ; Tue, 28 Jul 2009 01:33:24 +1000 (EST) Received: by ozlabs.org (Postfix) id 24F96DDD0B; Tue, 28 Jul 2009 01:33:24 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id AD8B2DDD04 for ; Tue, 28 Jul 2009 01:33:23 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752943AbZG0Pbw (ORCPT ); Mon, 27 Jul 2009 11:31:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752761AbZG0Pb2 (ORCPT ); Mon, 27 Jul 2009 11:31:28 -0400 Received: from smtp-out.google.com ([216.239.33.17]:52140 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752668AbZG0PbV (ORCPT ); Mon, 27 Jul 2009 11:31:21 -0400 Received: from zps38.corp.google.com (zps38.corp.google.com [172.25.146.38]) by smtp-out.google.com with ESMTP id n6RFVKAD022782; Mon, 27 Jul 2009 16:31:20 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1248708681; bh=AQZezPrL8G2ZolBIaDDKK6G/xsk=; h=DomainKey-Signature:Subject:To:From:Cc:Date:Message-ID: In-Reply-To:References:User-Agent:MIME-Version:Content-Type: Content-Transfer-Encoding:X-System-Of-Record; b=mlFhwuJm/lwDbF6W4K 3r5HUQZ8i8FG+v2owOs64dn0dVLNs06tEnWO8hSPKZ4HLoDRIRlWVUNX+PLZWhmjYlb A== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=subject:to:from:cc:date:message-id:in-reply-to:references: user-agent:mime-version:content-type: content-transfer-encoding:x-system-of-record; b=tmKiJboztceoFkGktpOdpjAKS/xX0ysB/ZpbC5ubo4A4cuSm/7WLh9wu4IG802Cjp rgxk9WIsQ8DYNj2d0KbhA== Received: from localhost (jazzy.zrh.corp.google.com [172.16.74.150]) by zps38.corp.google.com with ESMTP id n6RFVHxi030108; Mon, 27 Jul 2009 08:31:17 -0700 Received: by localhost (Postfix, from userid 95149) id AAB96EA6B3; Mon, 27 Jul 2009 17:31:16 +0200 (CEST) Subject: [RFC][PATCH 1/5] IPVS: prefix EnterFunction and LeaveFunction msg with "IPVS:" To: lvs-devel@vger.kernel.org From: Hannes Eder Cc: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 27 Jul 2009 15:46:16 +0200 Message-ID: <20090727134616.12897.7639.stgit@jazzy.zrh.corp.google.com> In-Reply-To: <20090727134457.12897.272.stgit@jazzy.zrh.corp.google.com> References: <20090727134457.12897.272.stgit@jazzy.zrh.corp.google.com> User-Agent: StGit/0.14.3.366.gf979 MIME-Version: 1.0 X-System-Of-Record: true Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Hannes Eder Now all printk messages from IPVS are prefixed with "IPVS:". Signed-off-by: Hannes Eder include/net/ip_vs.h | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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)