From owner-freebsd-current@FreeBSD.ORG Tue Jun 26 18:38:58 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C364106566B for ; Tue, 26 Jun 2012 18:38:58 +0000 (UTC) (envelope-from pfg@freebsd.org) Received: from nm10.bullet.mail.sp2.yahoo.com (nm10.bullet.mail.sp2.yahoo.com [98.139.91.80]) by mx1.freebsd.org (Postfix) with SMTP id 118A58FC17 for ; Tue, 26 Jun 2012 18:38:58 +0000 (UTC) Received: from [98.139.91.62] by nm10.bullet.mail.sp2.yahoo.com with NNFMP; 26 Jun 2012 18:35:34 -0000 Received: from [98.139.91.54] by tm2.bullet.mail.sp2.yahoo.com with NNFMP; 26 Jun 2012 18:35:34 -0000 Received: from [127.0.0.1] by omp1054.mail.sp2.yahoo.com with NNFMP; 26 Jun 2012 18:35:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 880043.32824.bm@omp1054.mail.sp2.yahoo.com Received: (qmail 86193 invoked by uid 60001); 26 Jun 2012 18:35:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1340735734; bh=uxuhqyPSxwDXMaB6MEYTWy0HBhJOoUVrq7EKipZmhVM=; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KuwBNkpJfwtZ4ip7p5nahPEL9f4kSdppxcAfmvYAlMM4/or+v6naa/419TSVFDr+gtZA32K8omcJljW8sqDBMvGYlESDmbGzU35x9SdOr97VYPltMXFghxoooKukS1yfbN3eCcd6MBJmJY1sv4UKCACN28DunKTTbgTV/tX/0e8= X-YMail-OSG: FWKULuwVM1lUgPpKNV8oChH3if9J9BPsgXVbnca2LNIYVOI IGGuTTIwSNnHRGmWV..6Mjk3pYTlrkBA9aXiLzqGV5M6zj5cq4xZd.6GE0q9 zGbNeVFjC0ClWDLFs.FkJjyaEHxqC1b8zGKNyqG.ni1FG9BJBcUdtxEIkVap 4IrPdzSyi5DvInHjYLU1viMDBs41wxNUXpY5hoUZBD7pmsVGaajrTWTgrWOt SuNIl1twx2PuYFqf2lT9.lizT0exZJ_xdgwPrSNd2qdxJDtWgOYqhuetx1Oe FjOzXoLL6pzNAwTDJeL19SxSGI33YKddNI7IzYMyqbzXzpaOAitSH1OaJ8Rv Md5Hb5R10XFCa7jvlIS38d93HV.Ws2ElYZ_tO0XTLdqgbPAZLZla0mB3DKHA bMcJoUaXGqt5FSd7RLHEWvYVZmo.6_q1ByqXnpQ_3YGsmSX6_zEq0oeheYcS .Gmvj Received: from [200.118.157.7] by web113510.mail.gq1.yahoo.com via HTTP; Tue, 26 Jun 2012 11:35:34 PDT X-RocketYMMF: giffunip X-Mailer: YahooMailClassic/15.0.8 YahooMailWebService/0.8.118.349524 Message-ID: <1340735734.53528.YahooMailClassic@web113510.mail.gq1.yahoo.com> Date: Tue, 26 Jun 2012 11:35:34 -0700 (PDT) From: Pedro Giffuni To: Mark Peek In-Reply-To: <4FE9EFF9.9080507@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: gnn@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [RFT] llquantize for FreeBSD's dtrace X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfg@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 18:38:58 -0000 =0A=0A--- Mar 26/6/12, Mark Peek ha scritto:=0A=0A> >=0A> = > It's a different assertion.=0A> >=0A> > Probably some difference between = Solaris and BSD.=0A> > this is very useful, thanks!=0A> =0A> Try this, chan= ge the assert on line 1429 in file dt_cc.c=0A> from:=0A> =0A> assert(!(arg = & (UINT16_MAX << args[i].shift)));=0A> =0A> to=0A> =0A> assert(!(arg & ((ui= nt64_t)UINT16_MAX <<=0A> args[i].shift)));=0A> =0A=0AThis certainly looks c= orrect. Thanks Mark !=0A=0AI updated the patch:=0A=0Ahttp://people.freebsd.= org/~pfg/patches/patch-dtrace-llquantize=0A=0Acheers,=0A=0APedro.