From: "Quentin Schulz" <quentin.schulz@streamunlimited.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: YP docs mailing list <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH] ref-manual: add DEBUGFS-related variables to glossary
Date: Thu, 27 May 2021 18:09:49 +0200 [thread overview]
Message-ID: <20210527160949.mgdmbern2wynmdq2@qschulz> (raw)
In-Reply-To: <456a26f-3bb5-5b29-88a6-3db82a99ed82@crashcourse.ca>
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 <rpjday@crashcourse.ca>
> > >
> > > ---
> > >
> > > 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
next prev parent reply other threads:[~2021-05-27 16:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-21 9:35 [PATCH] ref-manual: add DEBUGFS-related variables to glossary Robert P. J. Day
2021-05-27 10:33 ` [docs] " Quentin Schulz
2021-05-27 15:58 ` Robert P. J. Day
2021-05-27 16:09 ` Quentin Schulz [this message]
2021-05-28 14:33 ` Michael Opdenacker
2021-05-27 23:34 ` Khem Raj
2021-05-28 9:14 ` Michael Opdenacker
2021-05-28 21:25 ` Robert P. J. Day
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210527160949.mgdmbern2wynmdq2@qschulz \
--to=quentin.schulz@streamunlimited.com \
--cc=docs@lists.yoctoproject.org \
--cc=rpjday@crashcourse.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox