summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2025-03-10 17:54:52 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2025-03-17 01:23:25 +0800
commit3422dfa9030294c3ded4445e105cd71d8d220993 (patch)
tree135507cb246a5aaa72fd496af89d1af527a865b3 /tools/perf/scripts/python/export-to-sqlite.py
parent8e49c33d0435629272338e4d413917a0b7b9be65 (diff)
erofs: simplify erofs_{read,fill}_inode()
- Switch to on-stack `copied` since it's just 64 bytes; - Get rid of `nblks` and derive `i_blocks` directly; - Use `inode_set_mtime()` instead of `inode_set_ctime()` to follow the ondisk naming; - Rearrange the code. Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Acked-by: Chao Yu <chao@kernel.org> Link: https://lore.kernel.org/r/20250310095459.2620647-3-hsiangkao@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions