summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2023-04-04 01:47:48 +0300
committerSteve French <stfrench@microsoft.com>2023-04-24 08:09:07 +0300
commita12a07a85aff72e19520328f78b1c64d2281a1ec (patch)
tree9e070c82c20618deef1c2090d5ac1508e7bb570f /tools/perf/scripts/python/task-analyzer.py
parent34e8ccf9ce24b6b2e275bbe35cd392e18fbbd369 (diff)
downloadlinux-a12a07a85aff72e19520328f78b1c64d2281a1ec.tar.xz
ksmbd: avoid duplicate negotiate ctx offset increments
Both pneg_ctxt and ctxt_size change in unison, with each adding the length of the previously added context, rounded up to an eight byte boundary. Drop pneg_ctxt increments and instead use the ctxt_size offset when passing output pointers to per-context helper functions. This slightly simplifies offset tracking and shaves off a few text bytes. Before (x86-64 gcc 7.5): text data bss dec hex filename 213234 8677 672 222583 36577 ksmbd.ko After: text data bss dec hex filename 213218 8677 672 222567 36567 ksmbd.ko Signed-off-by: David Disseldorp <ddiss@suse.de> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions