From nobody Fri Mar 22 07:38:45 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V1Dj42nP9z5G0ZD; Fri, 22 Mar 2024 07:38:48 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V1Dj422bNz4MQB; Fri, 22 Mar 2024 07:38:48 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711093128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IiWB3+tyCZY5Ke5gHkCFX5fitTF2RgwN+WRJvUPREAI=; b=sxmyWppkPGZhz1laGTlJwXQu9fXE56u21bhmHvSpu3jVH0qc5r1QPywEAXmfC1hy/qH0Om 0gKc+s3vxG66omBMbgd/qw2IN9O6nxJ/mBfuRsDodRBmWOLsLPlhkzV5LKgnROhfYhjVUl 3/iiVwVxT8XidI47AYqxHS0NXCUhkf0PcYsJUUC/snLdaZKRv+hNPf/GWF+FLR8UupvlKu 1kmtIfgZHEQlv9ds7ExpnpHj6oR88WRR6bK/2/Ms61iGjmAX5mykW6Ymxi4KHkkAD12ll7 rV+nhQ9fHbUCe1JXRweNmgJD5DMPnjvxUOme/dfa7qY8sYTOcUuMIf5+R68F1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711093128; a=rsa-sha256; cv=none; b=hrSqbaHYQZyZMvMU5OtUJi82zUxx+MvPFGqPAM2z/dU0tsPERwQBw0Lfzd6Kct1L2QmNNi BUBpdNPOleoW2t6erDFxS945ERWprzYiJDk7Gez4Y5k77KqmZTAqGzdZvha89iSQbPH2ts mXQFY4y9q0IBQTio1UuW5IvEn4g8gGAtmdbJkW+XaGNPWun27jmdYsfwAT+RVHGy6U1Zwe lu4lm/MZKnWilwPqEluA0CB6HkMkgAMW65kGt6t8T+ECyIEKPOSoDMZm6wzUK9fnVadrYc QjKyhqeBHKpzBSCf/I+wLGnWKKa79MwmnqzowlbylkxqCG1vGRO0/Ydi1dqF/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711093128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IiWB3+tyCZY5Ke5gHkCFX5fitTF2RgwN+WRJvUPREAI=; b=HWWOG5+30jJ6nFSZQwdbPp+ZKKoyptg9W0tBBc6mSaxsUNfTxTH6DjyvyW8f53bNPbbf1H 6A/RzPDqq4HmDEISWGB/XecnKlsvgdFwvyu7zhUt7kH+hQ8ADw7hVu91iT2s6CI6bVaUfQ JX6CT6NMYb6Ea4lzfBqo5JiL8JViYhCzP77y0d15/PG1ZjzirDoiVrieM1v8g5DNt0fxoW cAcpqot2nELvBLOFssL6qCQcK4wYwineXB8tDLQSf4rQBQyjG8G2XgJ5BxW1D+lI5v/G9M 716yWlUiXEfRxj+ZBv8J9JaS4JnEj/L3+OYRqeOIcG51cZ3YJUGQtABtIvXd2w== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4V1Dj40xRsz1NQh; Fri, 22 Mar 2024 07:38:48 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id B442E19A45; Fri, 22 Mar 2024 08:38:45 +0100 (CET) Date: Fri, 22 Mar 2024 08:38:45 +0100 From: Baptiste Daroussin To: Bojan =?utf-8?B?Tm92a292acSH?= Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: c21bc6f3c242 - main - ddb: Add CTF-based pretty printing Message-ID: References: <202403220356.42M3uJh3021416@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202403220356.42M3uJh3021416@gitrepo.freebsd.org> On Fri 22 Mar 03:56, Bojan Novković wrote: > The branch main has been updated by bnovkov: > > URL: https://cgit.FreeBSD.org/src/commit/?id=c21bc6f3c2425de74141bfee07b609bf65b5a6b3 > > commit c21bc6f3c2425de74141bfee07b609bf65b5a6b3 > Author: Bojan Novković > AuthorDate: 2024-03-22 03:01:34 +0000 > Commit: Bojan Novković > CommitDate: 2024-03-22 03:03:33 +0000 > > ddb: Add CTF-based pretty printing > > Add basic CTF support and a CTF-powered pretty-printer to ddb. > > The db_ctf.* files expose a basic interface for fetching type > data for ELF symbols, interacting with the CTF string table, > and translating type identifiers to type data. > > The db_pprint.c file uses those interfaces to implement > a pretty-printer for all kernel ELF symbols. > The pretty-printer works with symbol names and arbitrary addresses: > pprint struct thread 0xffffffff8194ad90 > > Pretty-printing currently only works after the root filesystem > gets mounted because the CTF info is not available during > early boot. > > Differential Revision: https://reviews.freebsd.org/D37899 > Approved by: markj (mentor) This breaks building kernel MINIMAL ld: error: undefined symbol: db_ctf_lookup_typename Best regards, Bapt