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@xxxxxxxxxxxxxxxxxxxx/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@xxxxxxxxxxxxxxxxxx/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