Yocto Project Documentation
 help / color / mirror / Atom feed
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 12:33:44 +0200	[thread overview]
Message-ID: <20210527103344.pqxrbddld5rtpbge@qschulz> (raw)
In-Reply-To: <b3b0312-688f-1b68-ac2b-29db8163cc9a@crashcourse.ca>

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. 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.

Eager to learn what this is for :)

Thanks for the patch!
Cheers,
Quentin

  reply	other threads:[~2021-05-27 10:33 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 ` Quentin Schulz [this message]
2021-05-27 15:58   ` [docs] " Robert P. J. Day
2021-05-27 16:09     ` Quentin Schulz
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=20210527103344.pqxrbddld5rtpbge@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