From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 02:58:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BD65106564A for ; Tue, 23 Nov 2010 02:58:42 +0000 (UTC) (envelope-from weihang@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id BB1F68FC08 for ; Tue, 23 Nov 2010 02:58:41 +0000 (UTC) Received: from steiner.cc.vt.edu (steiner.cc.vt.edu [198.82.163.51]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oAN2u3sC024486; Mon, 22 Nov 2010 21:58:02 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by steiner.cc.vt.edu (MOS 4.1.8-GA FastPath queued) with ESMTP id MGC42158; Mon, 22 Nov 2010 21:58:01 -0500 (EST) Received: from [172.31.134.48] (nc6520497.cns.vt.edu [198.82.4.151]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oAN2w1pc031021 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 22 Nov 2010 21:58:01 -0500 Mime-Version: 1.0 (Apple Message framework v1081) From: Weihang Wang In-Reply-To: Date: Mon, 22 Nov 2010 21:58:01 -0500 Message-Id: <7F1EA323-F04F-4921-B169-E168E1CB1FC1@vt.edu> References: <20101122170806.GA58734@dan.emsphone.com> <20101122213155.GC58734@dan.emsphone.com> <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> To: Chris Brennan X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu weihang@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=steiner.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020208.4CEB2DBA.0031,ss=1,fgs=0, ip=0.0.0.0, so=2009-09-22 00:05:22, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 02:58:42 -0000 Hi, Thanks for your reply. Yes, now I still got problems. I have checked the = release notes of versions later than 6.0, almost every version has not = so few changes in their network protocols kernel. For example, some = functions were replaced by others, arguments for a function is not = needed in a later version, things like that... This will make the = transport protocol does not work. But if I go through to adapt the = protocol to a new version, that would be lots of work. Also, that's not = what I supposed to do.=20 On the other hand, I could not find other kind of instrumenting tools = for FreeBSD either. E.g., Systemtap, LLtng, Oprofile e.t. which are all = for Linux kernel.=20 In terms of not on real machine, I have thought of using some kind of = simulator, which could be used to get the performance statistics of the = kernel. That is, I run the kernel and transport protocol on this = simulator, and get information from this simulator. But again, not found = a simulator for FreeBSD... BTW, I do not know how to use VM to do this... Could you explain a bit = for me? Thank you so much. Best, W.Wang On Nov 22, 2010, at 9:04 PM, Chris Brennan wrote: > On Mon, Nov 22, 2010 at 6:41 PM, Weihang Wang wrote: > Hi, >=20 > Thanks again. The transport protocol is not implemented by me, but I = need to run this protocol to see the behavior of this protocol. So now I = have no idea about the implementation of the transport protocol and = don't know whether it could run on later versions than FreeBSD 6.0. I = guess what I could do now is try to see whether this protocol could work = on FreeBSD later version (8.1 or later?? ). If it works, then everything = is fine. If not, maybe I have to find other instrumenting tools instead = of DTrace. > Thank you so much. >=20 > Best, > W.Wang >=20 >=20 > Why not run this test into a VM to test? It would sav you considerable = time.=20