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
On 2024/9/4 3:56, Steven Rostedt wrote:
On Thu, 29 Aug 2024 14:41:09 +0800
Hongbo Li wrote:
Add basic tracepoints for {alloc, evict, free}_inode, setattr and
fallocate. These can help users to debug hugetlbfs more conveniently.
Signed-off-by: Hongbo Li
Pretty basic trace events.
yeah
mode 0100644 size 2097152 nlink 0 seals 1 blocks 0
-0 [007] ..s1. 110.059441: hugetlbfs_free_inode: dev 0,51 ino
24621 mode 0100644 size 2097152 nlink 0 seals 1 blocks 0
```
Signed-off-by: Hongbo Li
---
fs/hugetlbfs/inode.c | 17 +++--
1 file changed, 15 insertions(+), 2
Add basic tracepoints for {alloc, evict, free}_inode, setattr and
fallocate. These can help users to debug hugetlbfs more conveniently.
Signed-off-by: Hongbo Li
---
MAINTAINERS | 1 +
include/trace/events/hugetlbfs.h | 156 +++
2 files changed
separated.
v1 can be found at:
https://lore.kernel.org/linux-mm/20240701194906.3a9b6...@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
Give you a friendly ping.🙂
Thanks,
Hongbo
On 2024/7/23 11:08, 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-sfj5jvs8...@casper.infradead.org/T/
Changes
Add basic tracepoints for {alloc, evict, free}_inode, setattr and
fallocate. These can help users to debug hugetlbfs more conveniently.
Signed-off-by: Hongbo Li
---
MAINTAINERS | 1 +
include/trace/events/hugetlbfs.h | 156 +++
2 files changed
mode 0100644 size 2097152 nlink 0 seals 1 blocks 0
-0 [007] ..s1. 110.059441: hugetlbfs_free_inode: dev 0,51 ino
24621 mode 0100644 size 2097152 nlink 0 seals 1 blocks 0
```
Signed-off-by: Hongbo Li
---
fs/hugetlbfs/inode.c | 17 +++--
1 file changed, 15 insertions(+), 2
separated.
v1 can be found at:
https://lore.kernel.org/linux-mm/20240701194906.3a9b6...@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
On 2024/7/5 7:34, Dave Chinner wrote:
On Thu, Jul 04, 2024 at 10:13:22AM -0400, Steven Rostedt wrote:
On Thu, 4 Jul 2024 22:56:29 +1000
Dave Chinner wrote:
Having to do this is additional work when writing use-once scripts
that get thrown away when the tracepoint output analysis is done
is
On 2024/7/4 11:37, Matthew Wilcox wrote:
On Thu, Jul 04, 2024 at 11:07:03AM +0800, Hongbo Li wrote:
+ TP_printk("dev = (%d,%d), ino = %lu, dir = %lu, mode = 0%o",
+ MAJOR(__entry->dev), MINOR(__entry->dev),
+ (unsigned lo
= 2097152, i_nlink = 0, seals = 1,
i_blocks = 0
```
Signed-off-by: Hongbo Li
---
fs/hugetlbfs/inode.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 412f295acebe..2e826bbcb6ed 100644
--- a/fs/hugetlbfs/inode.c
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
Add basic tracepoints for {alloc, evict, free}_inode, setattr and
fallocate. These can help users to debug hugetlbfs more conveniently.
Signed-off-by: Hongbo Li
---
MAINTAINERS | 1 +
include/trace/events/hugetlbfs.h | 160 +++
2 files changed
On 2024/7/2 21:30, Mathieu Desnoyers wrote:
On 2024-07-02 07:55, Hongbo Li wrote:
On 2024/7/2 7:49, Steven Rostedt wrote:
On Wed, 12 Jun 2024 09:11:56 +0800
Hongbo Li wrote:
@@ -934,6 +943,12 @@ static int hugetlbfs_setattr(struct mnt_idmap
*idmap,
 if (error)
 return
On 2024/7/2 7:49, Steven Rostedt wrote:
On Wed, 12 Jun 2024 09:11:56 +0800
Hongbo Li wrote:
@@ -934,6 +943,12 @@ static int hugetlbfs_setattr(struct mnt_idmap *idmap,
if (error)
return error;
+ trace_hugetlbfs_setattr(inode, dentry->d_name.len, den
Just a friendly ping to the patch :)
https://lore.kernel.org/all/20240612011156.2891254-1-lihongb...@huawei.com/
Thanks,
Hongbo
On 2024/6/12 9:11, Hongbo Li wrote:
Here we use the hugetlbfs tracepoint to track the call stack. And
the output in trace is as follows:
```
touch-5307[004
Add basic tracepoints for {alloc, evict, free}_inode, setattr and
fallocate. These can help users to debug hugetlbfs more conveniently.
Signed-off-by: Hongbo Li
---
MAINTAINERS | 1 +
include/trace/events/hugetlbfs.h | 164 +++
2 files changed
= 21380, i_mode = 0100644, i_size = 2097152, i_nlink = 0, seals = 1,
i_blocks = 0
```
Signed-off-by: Hongbo Li
---
fs/hugetlbfs/inode.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 412f295acebe
Here we add some basic tracepoints for debugging hugetlbfs: {alloc, free,
evict}_inode, setattr and fallocate.
Hongbo Li (2):
hugetlbfs: support tracepoint
hugetlbfs: use tracepoints in hugetlbfs functions.
MAINTAINERS | 1 +
fs/hugetlbfs/inode.c | 21
20 matches
Mail list logo