From: Christian Brauner <brauner@kernel.org>
To: Eric Biggers <ebiggers@kernel.org>
Cc: Andrey Albershteyn <aalbersh@kernel.org>,
linux-xfs@vger.kernel.org, fstests@vger.kernel.org,
djwong@kernel.org, fsverity@lists.linux.dev
Subject: Re: [PATCH v2 2/2] fsverity: add tracepoints
Date: Thu, 29 Jan 2026 16:02:29 +0100 [thread overview]
Message-ID: <20260129-abgraben-atemzug-b46d8fdfcb64@brauner> (raw)
In-Reply-To: <20260124184954.GC2762@quark>
On Sat, Jan 24, 2026 at 10:49:54AM -0800, Eric Biggers wrote:
> [+Cc fsverity@lists.linux.dev]
>
> On Tue, Jan 20, 2026 at 04:39:17PM -0800, Eric Biggers wrote:
> > On Mon, Jan 19, 2026 at 05:56:43PM +0100, Andrey Albershteyn wrote:
> > [...]
> > > + TP_printk("ino %lu data size %llu tree size %llu block size %u levels %u",
> > [...]
> > > + TP_printk("ino %lu levels %d block_size %d tree_size %lld root_hash %s digest %s",
> >
> > Would be nice to make these consistent. 3 of the parameters are the
> > same, but the naming and order differs slightly.
> >
> > [...]
> > > + TP_printk("ino %lu pos %lld merkle_blocksize %u",
> > > + (unsigned long) __entry->ino,
> > > + __entry->data_pos,
> > > + __entry->block_size)
> >
> > Likewise here. So now we have "block size", "block_size", and
> > "merkle_blocksize", all for the same thing.
> >
> > > + TP_printk("ino %lu data_pos %llu hblock_idx %lu level %u hidx %u",
> > > + (unsigned long) __entry->ino,
> >
> > And here's data_pos as a %llu, whereas in the previous tracepoint it's
> > just pos as an %lld.
> >
> > > +TRACE_EVENT(fsverity_verify_merkle_block,
> > > + TP_PROTO(const struct inode *inode, unsigned long index,
> > > + unsigned int level, unsigned int hidx),
> >
> > And the 'index' here is what the previous one calls 'hblock_idx'.
> >
> > I think consistent naming would be helpful for people trying to use
> > these tracepoints.
>
> Andrey, let me know if you're planning to send a new version with the
> naming cleaned up, or if I should do it in a follow-up patch instead.
>
> Christian, can you let me know if it's okay if I take this series
> through the fsverity tree, or do you want it to go through the VFS tree?
Yeah, I can take them no biggie.
Tracepoints, heh, who would've thought.
next prev parent reply other threads:[~2026-01-29 15:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-19 16:56 [PATCH v2 0/2] Add traces and file attributes for fs-verity Andrey Albershteyn
2026-01-19 16:56 ` [PATCH v2 1/2] fs: add FS_XFLAG_VERITY for fs-verity files Andrey Albershteyn
2026-01-20 15:51 ` Darrick J. Wong
2026-01-21 0:33 ` Eric Biggers
2026-01-21 14:23 ` Andrey Albershteyn
2026-01-19 16:56 ` [PATCH v2 2/2] fsverity: add tracepoints Andrey Albershteyn
2026-01-21 0:39 ` Eric Biggers
2026-01-24 18:49 ` Eric Biggers
2026-01-26 11:38 ` Andrey Albershteyn
2026-01-29 15:02 ` Christian Brauner [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-01-19 16:32 [PATCH v2 0/2] Add traces and file attributes for fs-verity Andrey Albershteyn
2026-01-19 16:32 ` [PATCH v2 2/2] fsverity: add tracepoints Andrey Albershteyn
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=20260129-abgraben-atemzug-b46d8fdfcb64@brauner \
--to=brauner@kernel.org \
--cc=aalbersh@kernel.org \
--cc=djwong@kernel.org \
--cc=ebiggers@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=fsverity@lists.linux.dev \
--cc=linux-xfs@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