diff options
author | 2024-04-22 08:13:16 +0200 | |
---|---|---|
committer | 2024-04-22 14:27:32 +0530 | |
commit | 4887e53163825189c70a0db4f13b42eae8798625 (patch) | |
tree | 31a178b52487933644b242b8864a35e9ffd41352 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | xfs: remove the unused xfs_extent_busy_enomem trace event (diff) | |
download | wireguard-linux-4887e53163825189c70a0db4f13b42eae8798625.tar.xz wireguard-linux-4887e53163825189c70a0db4f13b42eae8798625.zip |
xfs: compile out v4 support if disabled
Add a few strategic IS_ENABLED statements to let the compiler eliminate
unused code when CONFIG_XFS_SUPPORT_V4 is disabled.
This saves multiple kilobytes of .text in my .config:
$ size xfs.o.*
text data bss dec hex filename
1363633 294836 592 1659061 1950b5 xfs.o.new
1371453 294868 592 1666913 196f61 xfs.o.old
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions