public inbox for linux-bcachefs@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Bertschinger <tahbertschinger@gmail.com>
To: kent.overstreet@linux.dev, linux-bcachefs@vger.kernel.org,
	bfoster@redhat.com
Cc: Thomas Bertschinger <tahbertschinger@gmail.com>
Subject: [PATCH TOOLS v2 0/5] new debug command
Date: Sun, 14 Jul 2024 14:02:21 -0600	[thread overview]
Message-ID: <20240714200226.746471-1-tahbertschinger@gmail.com> (raw)

This introduces a new command, "debug", to the bcachefs tool.

Changes in v2:
- minor fixups
- added "field+=value" to increment a field's value, in addition to
  "field=value"

Thomas Bertschinger (5):
  include debuginfo in bcachefs binary by default
  update minimum Rust version to 1.74.0
  introduce "list_bkeys" command
  introduce "debug" command and "dump" subcommand
  introduce new "debug update" command

 Cargo.lock                       | 374 ++++++++++++++++++++++---------
 Cargo.toml                       |   9 +-
 c_src/bcachefs.c                 |   4 +-
 c_src/cmd_debug.c                | 145 ++++++++++++
 c_src/cmds.h                     |  18 ++
 src/bcachefs.rs                  |   5 +-
 src/commands/debug/bkey_types.rs | 340 ++++++++++++++++++++++++++++
 src/commands/debug/mod.rs        | 173 ++++++++++++++
 src/commands/debug/parser.rs     | 105 +++++++++
 src/commands/mod.rs              |   3 +
 10 files changed, 1061 insertions(+), 115 deletions(-)
 create mode 100644 c_src/cmd_debug.c
 create mode 100644 src/commands/debug/bkey_types.rs
 create mode 100644 src/commands/debug/mod.rs
 create mode 100644 src/commands/debug/parser.rs

--
2.45.2


             reply	other threads:[~2024-07-14 20:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-14 20:02 Thomas Bertschinger [this message]
2024-07-14 20:02 ` [PATCH TOOLS v2 1/5] include debuginfo in bcachefs binary by default Thomas Bertschinger
2024-07-14 20:20   ` Kent Overstreet
2024-07-14 20:02 ` [PATCH TOOLS v2 2/5] update minimum Rust version to 1.74.0 Thomas Bertschinger
2024-07-14 20:02 ` [PATCH TOOLS v2 3/5] introduce "list_bkeys" command Thomas Bertschinger
2024-07-14 20:02 ` [PATCH TOOLS v2 4/5] introduce "debug" command and "dump" subcommand Thomas Bertschinger
2024-07-14 20:19   ` Kent Overstreet
2024-07-14 20:02 ` [PATCH TOOLS v2 5/5] introduce new "debug update" command Thomas Bertschinger
2024-07-14 20:21 ` [PATCH TOOLS v2 0/5] new debug command Kent Overstreet

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=20240714200226.746471-1-tahbertschinger@gmail.com \
    --to=tahbertschinger@gmail.com \
    --cc=bfoster@redhat.com \
    --cc=kent.overstreet@linux.dev \
    --cc=linux-bcachefs@vger.kernel.org \
    /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