From owner-cvs-src-old@FreeBSD.ORG Mon May 3 18:04:37 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B022F106566B for ; Mon, 3 May 2010 18:04:37 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 66B518FC1F for ; Mon, 3 May 2010 18:04:37 +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 o43I4bZp053366 for ; Mon, 3 May 2010 18:04:37 GMT (envelope-from kan@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o43I4btw053365 for cvs-src-old@freebsd.org; Mon, 3 May 2010 18:04:37 GMT (envelope-from kan@repoman.freebsd.org) Message-Id: <201005031804.o43I4btw053365@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kan@repoman.freebsd.org using -f From: Alexander Kabaev Date: Mon, 3 May 2010 18:04:17 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Mon, 03 May 2010 18:04:37 -0000 kan 2010-05-03 18:04:17 UTC FreeBSD src repository Modified files: cddl/contrib/opensolaris/tools/ctf/cvt ctf.c Log: SVN rev 207578 on 2010-05-03 18:04:17Z by kan 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.3 +8 -1 src/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c