Linux Trace Kernel
 help / color / mirror / Atom feed
* [PATCH v4 0/7] ntfs3: add tracepoints for core filesystem paths
@ 2026-08-20  9:04 Baolin Liu
  2026-08-20  9:04 ` [PATCH v4 1/7] ntfs3: add mount and log replay tracepoints Baolin Liu
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Baolin Liu @ 2026-08-20  9:04 UTC (permalink / raw)
  To: almaz.alexandrovich, rostedt, mhiramat, mathieu.desnoyers
  Cc: linux-kernel, ntfs3, linux-trace-kernel, liubaolin12138,
	liubaolin12138, Baolin Liu

From: Baolin Liu <liubaolin@kylinos.cn>

This series adds an initial set of tracepoints for ntfs3 core paths.

The tracepoints cover:
   - mount and log replay
   - namei operations
   - directory index operations
   - allocation and block mapping
   - iomap operations
   - file I/O entry points

Changes in v4 (both addressing review comments on patch 5):
   - ntfs3_attr_data_get_block: pass the "new" pointer to the trace
     event directly and move the "new != NULL" check into
     TP_fast_assign(), keeping that logic out of the call site and only
     executed when the event is enabled
   - ntfs3_attr_set_size_ex: stop sampling the old size with
     i_size_read() in TP_fast_assign() - on the truncate path
     truncate_setsize() has already updated i_size to the new value, so
     the recorded old_size always equaled new_size. Read the actual old
     size from the on-disk attribute record and pass it as an explicit
     parameter; move the call site after the attribute lookup so both
     resident and non-resident attributes are covered

Baolin Liu (7):
  ntfs3: add mount and log replay tracepoints
  ntfs3: add namei tracepoints
  ntfs3: add create inode tracepoint
  ntfs3: add directory index tracepoints
  ntfs3: add allocation tracepoints
  ntfs3: add iomap tracepoints
  ntfs3: add file I/O tracepoints

 MAINTAINERS                  |   1 +
 fs/ntfs3/attrib.c            |  12 ++
 fs/ntfs3/dir.c               |   3 +
 fs/ntfs3/file.c              |   5 +
 fs/ntfs3/fslog.c             |   3 +
 fs/ntfs3/index.c             |   8 +
 fs/ntfs3/inode.c             |   7 +
 fs/ntfs3/namei.c             |   5 +
 fs/ntfs3/super.c             |  11 +-
 include/trace/events/ntfs3.h | 389 +++++++++++++++++++++++++++++++++++
 10 files changed, 443 insertions(+), 1 deletion(-)
 create mode 100644 include/trace/events/ntfs3.h

-- 
2.51.0


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

end of thread, other threads:[~2026-08-20  9:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20  9:04 [PATCH v4 0/7] ntfs3: add tracepoints for core filesystem paths Baolin Liu
2026-08-20  9:04 ` [PATCH v4 1/7] ntfs3: add mount and log replay tracepoints Baolin Liu
2026-08-20  9:04 ` [PATCH v4 2/7] ntfs3: add namei tracepoints Baolin Liu
2026-08-20  9:05 ` [PATCH v4 3/7] ntfs3: add create inode tracepoint Baolin Liu
2026-08-20  9:05 ` [PATCH v4 4/7] ntfs3: add directory index tracepoints Baolin Liu
2026-08-20  9:17   ` sashiko-bot
2026-08-20  9:05 ` [PATCH v4 5/7] ntfs3: add allocation tracepoints Baolin Liu
2026-08-20  9:05 ` [PATCH v4 6/7] ntfs3: add iomap tracepoints Baolin Liu
2026-08-20  9:19   ` sashiko-bot
2026-08-20  9:05 ` [PATCH v4 7/7] ntfs3: add file I/O tracepoints Baolin Liu
2026-08-20  9:19   ` sashiko-bot

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