aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-08-18 10:56:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 13:45:21 +0200
commitd7c91c50815beebe14905292404b048a26147c07 (patch)
tree0eb4daa976ecf4718f8db5297150e5647650ae4d /tools/perf/scripts/python/export-to-postgresql.py
parentvc_screen: extract vcs_write_buf (diff)
downloadwireguard-linux-d7c91c50815beebe14905292404b048a26147c07.tar.xz
wireguard-linux-d7c91c50815beebe14905292404b048a26147c07.zip
vc_screen: eliminate ifdefs from vcs_write_buf
Introduce a new inline function called vc_compile_le16 and do the shifts and ORs there. Depending on LE x BE. I tried cpu_to_le16, but it ends up with worse assembly on BE for whatever reason -- the compiler seems to be unable to optimize the swap. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200818085706.12163-9-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions