linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Introduce tracepoint for hugetlbfs
@ 2024-07-23  3:08 Hongbo Li
  2024-07-23  3:08 ` [PATCH v3 1/2] hugetlbfs: support tracepoint Hongbo Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hongbo Li @ 2024-07-23  3:08 UTC (permalink / raw)
  To: muchun.song, rostedt, mhiramat, david
  Cc: mathieu.desnoyers, linux-mm, linux-trace-kernel, linux-fsdevel,
	lihongbo22

Here we add some basic tracepoints for debugging hugetlbfs: {alloc, free,
evict}_inode, setattr and fallocate.

v2 can be found at:
https://lore.kernel.org/all/ZoYY-sfj5jvs8UpQ@casper.infradead.org/T/

Changes since v2:
  - Simplify the tracepoint output for setattr.
  - Make every token be space separated.


v1 can be found at:
https://lore.kernel.org/linux-mm/20240701194906.3a9b6765@gandalf.local.home/T/

Changes since v1:
  - Decrease the parameters for setattr tracer suggested by Steve and Mathieu.
  - Replace current_user_ns() with init_user_ns when translate uid/gid.

Hongbo Li (2):
  hugetlbfs: support tracepoint
  hugetlbfs: use tracepoints in hugetlbfs functions.

 MAINTAINERS                      |   1 +
 fs/hugetlbfs/inode.c             |  17 +++-
 include/trace/events/hugetlbfs.h | 156 +++++++++++++++++++++++++++++++
 3 files changed, 172 insertions(+), 2 deletions(-)
 create mode 100644 include/trace/events/hugetlbfs.h

-- 
2.34.1



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

end of thread, other threads:[~2024-08-21  7:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-23  3:08 [PATCH v3 0/2] Introduce tracepoint for hugetlbfs Hongbo Li
2024-07-23  3:08 ` [PATCH v3 1/2] hugetlbfs: support tracepoint Hongbo Li
2024-07-23  3:08 ` [PATCH v3 2/2] hugetlbfs: use tracepoints in hugetlbfs functions Hongbo Li
2024-08-21  7:03 ` [PATCH v3 0/2] Introduce tracepoint for hugetlbfs Hongbo Li

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