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

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

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 | 160 +++++++++++++++++++++++++++++++
 3 files changed, 176 insertions(+), 2 deletions(-)
 create mode 100644 include/trace/events/hugetlbfs.h

-- 
2.34.1


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

end of thread, other threads:[~2024-07-05  6:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04  3:07 [PATCH v2 0/2] Introduce tracepoint for hugetlbfs Hongbo Li
2024-07-04  3:07 ` [PATCH v2 1/2] hugetlbfs: support tracepoint Hongbo Li
2024-07-04  3:37   ` Matthew Wilcox
2024-07-04  6:40     ` Hongbo Li
2024-07-04 12:56     ` Dave Chinner
2024-07-04 14:13       ` Steven Rostedt
2024-07-04 23:34         ` Dave Chinner
2024-07-05  6:24           ` Hongbo Li
2024-07-04  3:07 ` [PATCH v2 2/2] hugetlbfs: use tracepoints in hugetlbfs functions Hongbo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).