From owner-freebsd-stable@FreeBSD.ORG Fri Mar 20 04:49:25 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C63D0AA0 for ; Fri, 20 Mar 2015 04:49:25 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90F3ED90 for ; Fri, 20 Mar 2015 04:49:25 +0000 (UTC) Received: by pagj4 with SMTP id j4so5788216pag.2 for ; Thu, 19 Mar 2015 21:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=T05d2aefIUmy24ZQMpvNT7mOfnZNHxtAHCahGj2KTik=; b=d6sTRytLYKJqqUdqVq3vYOdP4WhTUDXa4oYQ5tNn5ivkFZJyfUPYkshNcsSi76UlI3 64sGg2kTEYf/ftRqa3/BvbyalNS4vQvszllJxtDUANvf9nwUI3GCe90tk6DmOg7n59rn BJp9DcazLS3mVxK8s2v+A9scwY8gW9HtHjqCdGiWZBFmCvNnbZTpEUjsE6PuGkoUHWg7 sjs16CTwtaN/uVUaRm7QzSlYVmtAy0xdDBdAJbckcajrsqK8H1q8x2S/HTQiNAgg6sIk Jc8nghhj5oHyJv0+BrB2+nKEXibNSMYWf8j66MBl91ONRQUG0fiOdFq3XY6WVQo48gKj OJtg== X-Received: by 10.70.3.162 with SMTP id d2mr70598898pdd.5.1426826965075; Thu, 19 Mar 2015 21:49:25 -0700 (PDT) Received: from raichu (216-243-33-91.users.condointernet.net. [216.243.33.91]) by mx.google.com with ESMTPSA id n10sm5698958pdp.18.2015.03.19.21.49.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Mar 2015 21:49:23 -0700 (PDT) Sender: Mark Johnston Date: Thu, 19 Mar 2015 21:49:17 -0700 From: Mark Johnston To: Mike Tancsa Subject: Re: dtrace on RELENG9 possible ? Message-ID: <20150320044917.GA9090@raichu> References: <550B2508.2040908@sentex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <550B2508.2040908@sentex.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD-STABLE Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2015 04:49:25 -0000 On Thu, Mar 19, 2015 at 03:35:36PM -0400, Mike Tancsa wrote: > Anyone know how to get dtrace working on RELENG9 ? When I go to load the > klds, I get the error > > # kldload dtraceall > kldload: an error occurred while loading the module. Please check > dmesg(8) for more details. > > # dmesg | tail -5 > linker_load_file: Unsupported file type > KLD profile.ko: depends on cyclic - not available or version mismatch > linker_load_file: Unsupported file type > KLD dtraceall.ko: depends on profile - not available or version mismatch > linker_load_file: Unsupported file type > > if I try and load profile, or cyclic, I get > > KLD profile.ko: depends on cyclic - not available or version mismatch > linker_load_file: Unsupported file type > link_elf_obj: symbol cyclic_clock_func undefined > linker_load_file: Unsupported file type > link_elf_obj: symbol cyclic_clock_func undefined > linker_load_file: Unsupported file type > > Googling around this seems to be a known problem going back some time > and there are various patches posted, but I am not sure what the best > way to proceed is ? This is only for a test box so I can try and better > understand why RELENG9 is so much faster than RELENG10 for my particular > applications. Could you point me to one of these threads? There are several that refer to cyclic_clock_func, but they have to do with build failures, which isn't what you're seeing. > This is releng9 from today after a fresh buildworld/kernel I'm not quite sure what you mean by releng9. Is it 9.0? 9.3? Does your kernel configuration file contain "options KDTRACE_HOOKS"? Thanks, -Mark