diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-19 18:01:23 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-30 14:27:57 +0300 |
commit | 315d8e98aa4fb67e2765b4c8df10fdf0c0bf0bfb (patch) | |
tree | 0905368ff72a8fac86e00a7592c37e601d4e0b71 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3afb0c501414aa3c4a7cfea9ae1a0acfbf7be14f (diff) | |
download | linux-315d8e98aa4fb67e2765b4c8df10fdf0c0bf0bfb.tar.xz |
btrfs: make array types static const, reduces object code size
Don't populate the read-only array types on the stack, instead make
it static const. Makes the object code smaller by nearly 60 bytes:
Before:
text data bss dec hex filename
90536 6552 64 97152 17b80 fs/btrfs/ioctl.o
After:
text data bss dec hex filename
90414 6616 64 97094 17b46 fs/btrfs/ioctl.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions