diff options
author | Robert Mustacchi <rm@joyent.com> | 2019-03-12 17:46:42 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2019-03-20 18:52:55 +0000 |
commit | cab8f574b2799281fddf00931d5f96a163272c9a (patch) | |
tree | b7405ee9ef321c6d3c21ed7246c0e31e5a8f99aa /usr/src/common | |
parent | ade6c39b187fff41cf5c7f6bc2b5761c8ee9418a (diff) | |
download | illumos-joyent-cab8f574b2799281fddf00931d5f96a163272c9a.tar.gz |
OS-7645 ctf symbol mapping needs work
OS-7653 ctf tools shouldn't add blank labels
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: John Levon <john.levon@joyent.com>
Diffstat (limited to 'usr/src/common')
-rw-r--r-- | usr/src/common/ctf/ctf_create.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/common/ctf/ctf_create.c b/usr/src/common/ctf/ctf_create.c index 355165eb12..d88283e8f5 100644 --- a/usr/src/common/ctf/ctf_create.c +++ b/usr/src/common/ctf/ctf_create.c @@ -25,7 +25,7 @@ * Use is subject to license terms. */ /* - * Copyright (c) 2015, Joyent, Inc. + * Copyright (c) 2019, Joyent, Inc. */ #include <sys/sysmacros.h> @@ -2126,6 +2126,7 @@ ctf_add_label(ctf_file_t *fp, const char *name, ctf_id_t type, uint_t position) return (ctf_set_errno(fp, EAGAIN)); } + ctf_dprintf("adding label %s, %ld\n", name, type); dld->dld_type = type; fp->ctf_dtstrlen += strlen(name) + 1; ctf_dld_insert(fp, dld, position); |