Here we use the hugetlbfs tracepoint to track the call stack. And
the output in trace is as follows:
```
touch-5265[005] .43.246550: hugetlbfs_alloc_inode: dev 0,51 ino
24621 dir 21959 mode 0100644
touch-5265[005] .43.246638: hugetlbfs_setattr: dev 0,51 ino
24621 na
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,
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 since v2:
- Simplify the tracepoint output for setattr.
- Make every token be space s
On Wed 28-08-24 16:13:59, Julian Sun wrote:
> Currently, the show_inode_state() macro only prints
> part of the state of inode->i_state. Let’s improve it
> to display more of its state.
>
> Signed-off-by: Julian Sun
Looks good to me. Feel free to add:
Reviewed-by: Jan Kara
On Tue, Aug 27, 2024 at 10:19:26PM +0200, Oleg Nesterov wrote:
> Sorry for another reply, I just noticed I missed one part of your email...
>
> On 08/27, Jiri Olsa wrote:
> >
> >-> uretprobe-hit
> > handle_swbp
> > uprobe_handle_trampoline
> > hand
On Tue, Aug 27, 2024 at 06:45:45PM +0200, Oleg Nesterov wrote:
> On 08/27, Jiri Olsa wrote:
> >
> > On Tue, Aug 27, 2024 at 12:29:38AM +0200, Oleg Nesterov wrote:
> > >
> > > So, can you reproduce the problem reported by Tianyi on your setup?
> >
> > yes, I can repduce the issue with uretprobe on t
Currently, the show_inode_state() macro only prints
part of the state of inode->i_state. Let’s improve it
to display more of its state.
Signed-off-by: Julian Sun
---
include/trace/events/writeback.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/include/trace/event
On Tue, 2024-08-27 at 18:21 +0200, Jan Kara wrote:
> On Tue 20-08-24 17:52:29, Julian Sun wrote:
> > Currently, the show_inode_state() macro only prints
> > part of the state of inode->i_state. Let’s improve it
> > to display more of its state.
> >
> > Signed-off-by: Julian Sun
> > ---
> > inclu