From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 3 13:05:46 2014 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9A36900; Wed, 3 Sep 2014 13:05:46 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF66144B; Wed, 3 Sep 2014 13:05:42 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA13450; Wed, 03 Sep 2014 16:05:41 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1XPAFo-000GcX-PB; Wed, 03 Sep 2014 16:05:40 +0300 Message-ID: <540711ED.2050909@FreeBSD.org> Date: Wed, 03 Sep 2014 16:04:45 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Mark Johnston , Shrikanth Kamath Subject: Re: Usage of DTRACE_PROBE macro from sdt.h in kernel modules References: <20140902204413.GC59246@charmander.home> In-Reply-To: <20140902204413.GC59246@charmander.home> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, freebsd-dtrace@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 13:05:46 -0000 on 02/09/2014 23:44 Mark Johnston said the following: > Somewhat confusingly, DTRACE_PROBE* shouldn't be used in the kernel. But it can be used. Shrikanth, please double check that KDTRACE_HOOKS is defined when you compile your module. -- Andriy Gapon