Date: Fri, 18 Jun 2010 16:14:37 +0000 (UTC) From: Alexander Kabaev <kan@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/cddl/contrib/opensolaris/tools/ctf/cvt ctf.c Message-ID: <201006181614.o5IGEmlb043241@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006181614.o5IGEmlb043241>
