OpenGrok
Cross Reference: ctf.c
xref
: /
src
/
external
/
cddl
/
osnet
/
dist
/
tools
/
ctf
/
cvt
/
ctf.c
Home
|
History
|
Annotate
|
Download
|
only in
cvt
History log of
/src/external/cddl/osnet/dist/tools/ctf/cvt/ctf.c
Revision
Date
Author
Comments
1.16
05-May-2025
christos
need to roundup the pointer for functions.
1.15
04-May-2025
christos
Apply diffs from FreeBSD to support CTF version 3 which eliminates the 64K
limits on various arrays holding items (eg. types)
1.14
28-May-2018
chs
branches: 1.14.14;
merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.
in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().
1.13
18-Mar-2016
christos
branches: 1.13.14;
write references as pointers XXX:
1.12
18-Mar-2016
christos
treat class line struct and union
1.11
18-Mar-2016
christos
swap first, then write.
1.10
04-Feb-2016
roy
More printflike and dead fixes.
1.9
21-Oct-2015
christos
make too many struct or union members non-fatal.
1.8
07-Feb-2015
christos
check and fix printf formats, negative array indices, uninitialized variables,
shadowed variables.
1.7
09-Mar-2014
christos
sync with freebsd
1.6
10-Jan-2012
darran
branches: 1.6.6;
Fix a segfault in ctfmerge.
GCC can generate bogus dwarf attributes with DW_AT_byte_size set to 0xFFFFFFFF.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35998 .
GCC is currently doing this for external/bsd/tmux/dist/compat/imsg-buffer.c:
readelf -a --debug-dump imsg-buffer.o
...
<2><6e3>: Abbrev Number: 32 (DW_TAG_union_type)
<6e4> DW_AT_byte_size : 0xffffffff
<6e8> DW_AT_decl_file : 1
<6e9> DW_AT_decl_line : 229
<6ea> DW_AT_sibling : <0x705>
This resulted in ctfconvert generating a faulty CTF entry which then caused the
segfault in ctfmerge.
The fix has ctfconvert check for the bogus 0xFFFFFFFF value and works around it.
It also adds some protection to ctfmerge to avoid the segfault and fail
more gracefully if the error should occur in the future.
1.5
11-Mar-2010
darran
branches: 1.5.6;
DTrace: The CTF format is limited to only 1024 elements in an enum,
so rather than error out when there are more than this just truncate the
length.
1.4
27-Feb-2010
haad
Merge NetBSD local changes to new zfs version 22 sources.
1.3
24-Feb-2010
darran
DTrace: Get the CTF tools building as part of the toolchain.
1.2
21-Feb-2010
darran
Add the FreeBSD 8-RC1 changes for DTrace.
Ok with core@.
1.1
20-Feb-2010
darran
branches: 1.1.1;
Initial revision
1.1.1.3
28-May-2018
chs
import new CDDL dtrace and ZFS code from FreeBSD svn r315983.
1.1.1.2
27-Feb-2010
haad
Import new Opensolaris sources for zfs/dtrace.
Opensolaris mercurial changeset: 11751:58c0c8f4305f
1.1.1.1
20-Feb-2010
darran
Import the rest of Opensolaris 20081117 needed for DTrace. No conflicts
with ZFS.
1.5.6.2
22-May-2014
yamt
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
1.5.6.1
17-Apr-2012
yamt
sync with head
1.6.6.1
19-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.13.14.1
25-Jun-2018
pgoyette
Sync with HEAD
1.14.14.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Sun May 03 00:22:47 UTC 2026