From 37e82d12edcc0e950e771c6cda32e45f1ecd7f8d Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Tue, 12 Mar 2019 17:46:42 +0000 Subject: 10812 ctf tools shouldn't add blank labels 10813 ctf symbol mapping needs work Reviewed by: Jerry Jelinek Reviewed by: Gordon Ross Reviewed by: Toomas Soome Approved by: Gordon Ross --- usr/src/common/ctf/ctf_create.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr/src/common/ctf') 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 @@ -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); -- cgit v1.2.3