From: Amir Vadai Date: Wed, 2 Dec 2009 07:06:37 +0000 (+0200) Subject: sdp: make /proc/net/sdpprf on only if debug data is on X-Git-Tag: v4.1.12-92~264^2~5^2~233 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3254e9675d9d8cbbe3a31094ba751280b1ba2d54;p=users%2Fjedix%2Flinux-maple.git sdp: make /proc/net/sdpprf on only if debug data is on This way, in performance measurements it is off and on regression it is on. Signed-off-by: Amir Vadai --- diff --git a/drivers/infiniband/ulp/sdp/sdp_dbg.h b/drivers/infiniband/ulp/sdp/sdp_dbg.h index c3f5bc7ae9df3..9b1a67e5f29d5 100644 --- a/drivers/infiniband/ulp/sdp/sdp_dbg.h +++ b/drivers/infiniband/ulp/sdp/sdp_dbg.h @@ -2,7 +2,10 @@ #define _SDP_DBG_H_ #define SDPSTATS_ON + +#ifdef CONFIG_INFINIBAND_SDP_DEBUG_DATA #define SDP_PROFILING +#endif //#define GETNSTIMEODAY_SUPPORTED #define _sdp_printk(func, line, level, sk, format, arg...) do { \