mbox series

[RESEND,v3,0/2] Introduce tracepoint for hugetlbfs

Message ID 20240829064110.67884-1-lihongbo22@huawei.com (mailing list archive)
Headers show
Series Introduce tracepoint for hugetlbfs | expand

Message

Hongbo Li Aug. 29, 2024, 6:41 a.m. UTC
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

Comments

Hongbo Li Sept. 14, 2024, 8:09 a.m. UTC | #1
Hi,

Just a gently ping for this. Does this patch have a change of making it 
into this cycle?

Thanks,
Hongbo

On 2024/8/29 14:41, Hongbo Li wrote:
> 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
>
Christian Brauner Sept. 17, 2024, 9:08 a.m. UTC | #2
On Thu, 29 Aug 2024 14:41:08 +0800, Hongbo Li wrote:
> 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.
> 
> [...]

Applied to the vfs.misc.v6.13 branch of the vfs/vfs.git tree.
Patches in the vfs.misc.v6.13 branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc.v6.13

[1/2] hugetlbfs: support tracepoint
      https://git.kernel.org/vfs/vfs/c/318580ad7f28
[2/2] hugetlbfs: use tracepoints in hugetlbfs functions.
      https://git.kernel.org/vfs/vfs/c/014ad7c42a69