Re: [RFT] llquantize for FreeBSD's dtrace

看板FB_current作者時間13年前 (2012/06/30 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/10 (看更多)
On Jun 26, 2012, at 15:06 , Fabian Keil wrote: > Pedro Giffuni <pfg@freebsd.org> wrote: > >> --- Mar 26/6/12, Mark Peek <mp@FreeBSD.org> ha scritto: > >>> Try this, change the assert on line 1429 in file dt_cc.c >>> from: >>> >>> assert(!(arg & (UINT16_MAX << args[i].shift))); >>> >>> to >>> >>> assert(!(arg & ((uint64_t)UINT16_MAX << >>> args[i].shift))); >>> >> >> This certainly looks correct. Thanks Mark ! >> >> I updated the patch: >> >> http://people.freebsd.org/~pfg/patches/patch-dtrace-llquantize > > Thanks a lot. Seems to work for me: > And me as well. I tested the example from the web site. Nicely done! Best, George _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1FxUrVBw (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FxUrVBw (FB_current)