diff options
author | Hongbo Li <lihongbo22@huawei.com> | 2024-08-29 14:41:10 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-09-17 11:07:34 +0200 |
commit | 014ad7c42a69d41aa670df96e41e8796d8645d37 (patch) | |
tree | 0308e9ba01ecf13120309fab736fd7b9796a758f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 318580ad7f2828f6269e0b8819e943ddedda3375 (diff) |
hugetlbfs: use tracepoints in hugetlbfs functions.
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 name testfile valid 0x20070 mode 0177777 old_size 0 size -51622648042749952
truncate-5266 [005] ..... 45.590890: hugetlbfs_setattr: dev 0,51 ino 24621 name testfile valid 0x2068 mode 00 old_size 0 size 2097152
rm-5273 [007] ..... 110.052783: hugetlbfs_evict_inode: dev 0,51 ino 24621 mode 0100644 size 2097152 nlink 0 seals 1 blocks 0
<idle>-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 <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240829064110.67884-3-lihongbo22@huawei.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions