From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bsmtp1.bon.at (bsmtp1.bon.at [213.33.87.15]) by mx.groups.io with SMTP id smtpd.web10.9139.1622131794391057066 for ; Thu, 27 May 2021 09:09:55 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: streamunlimited.com, ip: 213.33.87.15, mailfrom: quentin.schulz@streamunlimited.com) Received: from qschulz (vpn.streamunlimited.com [91.114.0.140]) by bsmtp1.bon.at (Postfix) with ESMTPSA id 4FrXp73R7Wz5tlD; Thu, 27 May 2021 18:09:51 +0200 (CEST) Date: Thu, 27 May 2021 18:09:49 +0200 From: "Quentin Schulz" To: "Robert P. J. Day" Cc: YP docs mailing list Subject: Re: [docs] [PATCH] ref-manual: add DEBUGFS-related variables to glossary Message-ID: <20210527160949.mgdmbern2wynmdq2@qschulz> References: <20210527103344.pqxrbddld5rtpbge@qschulz> <456a26f-3bb5-5b29-88a6-3db82a99ed82@crashcourse.ca> MIME-Version: 1.0 In-Reply-To: <456a26f-3bb5-5b29-88a6-3db82a99ed82@crashcourse.ca> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 27, 2021 at 11:58:07AM -0400, Robert P. J. Day wrote: > On Thu, 27 May 2021, Quentin Schulz wrote: > > > Hi Richard, > > > > On Fri, May 21, 2021 at 05:35:21AM -0400, Robert P. J. Day wrote: > > > > > > Add variable glossary entries for all of: > > > > > > * IMAGE_GEN_DEBUGFS > > > * IMAGE_FSTYPES_DEBUGFS > > > * IMAGE_INSTALL_DEBUGFS > > > > > > Signed-off-by: Robert P. J. Day > > > > > > --- > > > > > > diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst > > > index 0b61f77cb..1ce43a954 100644 > > > --- a/documentation/ref-manual/variables.rst > > > +++ b/documentation/ref-manual/variables.rst > > > @@ -3006,6 +3006,24 @@ system and gives an overview of their function and contents. > > > or ``_prepend``. You must use the ``+=`` operator to add one or > > > more options to the ``IMAGE_FSTYPES`` variable. > > > > > > + :term:`IMAGE_FSTYPES_DEBUGFS` > > > + Similar to :term:`IMAGE_FSTYPES`, specifies the formats the > > > + OpenEmbedded build system uses during the build when creating the > > > + debug filesystem, as long as :term:`IMAGE_GEN_DEBUGFS` has been > > > + set to '1'. > > > + > > > + The default value from ``bitbake.conf``:: > > > + > > > + IMAGE_FSTYPES_DEBUGFS ?= "tar.gz" > > > + > > > + :term:`IMAGE_GEN_DEBUGFS` > > > + Set to '1' in order to generate a separate debug fileystem:: > > > + > > > + IMAGE_GEN_DEBUGFS = '1' > > > + > > > + If set, the debugfs will be generated with all of the filesystem > > > > Having worked with the kernel before Yocto, for me debugfs is a > > pseudo filesystem created and mounted by the kernel. I guess this > > has nothing to do with it. > > i went through that initial confusion once upon a time as well -- > yup, totally different. it would be the stuff placed typically under > various .debug directories. > > > Could we elaborate a bit more on what this debug filesystem is and > > what's its use? And also put a word that this shouldn't be confused > > with debugfs filesystem from the kernel, c.f. > > https://www.kernel.org/doc/html/latest/filesystems/debugfs.html. > > for the sake of brevity in the glossary, it would be better to keep > glossary entries short, and link to longer explanations or tutorials. > i can add such a link if such a section exists. is there somewhere a > decent explanation? > Makes sense. A quick grep returned https://docs.yoctoproject.org/dev-manual/common-tasks.html#using-the-gdbserver-method point 1. Cheers, Quentin