From owner-cvs-src-old@FreeBSD.ORG Fri Jun 18 16:14:50 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4111106568A for ; Fri, 18 Jun 2010 16:14:49 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9814E8FC18 for ; Fri, 18 Jun 2010 16:14:48 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o5IGEmHN043242 for ; Fri, 18 Jun 2010 16:14:48 GMT (envelope-from kan@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5IGEmlb043241 for cvs-src-old@freebsd.org; Fri, 18 Jun 2010 16:14:48 GMT (envelope-from kan@repoman.freebsd.org) Message-Id: <201006181614.o5IGEmlb043241@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kan@repoman.freebsd.org using -f From: Alexander Kabaev Date: Fri, 18 Jun 2010 16:14:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/cddl/contrib/opensolaris/tools/ctf/cvt ctf.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2010 16:14:50 -0000 kan 2010-06-18 16:14:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) cddl/contrib/opensolaris/tools/ctf/cvt ctf.c Log: SVN rev 209306 on 2010-06-18 16:14:37Z by kan MFC r207578: Do not encode more than CTF_MAX_VLEN(1023) enum members. CTF can not represent enums with more than CTF_MAX_VLEN members, but ctfconvert will happily ignore that limitation and create CTF section no other tool can interpret. This change is different from similar change from upstream, which just returns an error if big enum is encountered. Doing that means that every FreeBSD kernel with compiled in hwpmc will have no useable CTF information due to pmc_event enum having 1236+ members. Revision Changes Path 1.2.4.1 +8 -1 src/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c