public inbox for linux-bcachefs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH TOOLS v2 0/5] new debug command
@ 2024-07-14 20:02 Thomas Bertschinger
  2024-07-14 20:02 ` [PATCH TOOLS v2 1/5] include debuginfo in bcachefs binary by default Thomas Bertschinger
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Thomas Bertschinger @ 2024-07-14 20:02 UTC (permalink / raw)
  To: kent.overstreet, linux-bcachefs, bfoster; +Cc: Thomas Bertschinger

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-07-14 20:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-14 20:02 [PATCH TOOLS v2 0/5] new debug command Thomas Bertschinger
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox