summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKonstantin Andreev <andreev@swemel.ru>2025-01-17 19:36:42 +0300
committerCasey Schaufler <casey@schaufler-ca.com>2025-02-13 00:05:15 +0300
commitbfcf4004bcbce2cb674b4e8dbd31ce0891766bac (patch)
tree41fe445056f575ee2c25b82531e8cb8600ceb6db /tools/perf/scripts/python/export-to-postgresql.py
parent2aad5cd1dbeb20baf13d9bbb963afc4aa7fa0e34 (diff)
downloadlinux-bfcf4004bcbce2cb674b4e8dbd31ce0891766bac.tar.xz
smack: dont compile ipv6 code unless ipv6 is configured
I want to be sure that ipv6-specific code is not compiled in kernel binaries if ipv6 is not configured. [1] was getting rid of "unused variable" warning, but, with that, it also mandated compilation of a handful ipv6- specific functions in ipv4-only kernel configurations: smk_ipv6_localhost, smack_ipv6host_label, smk_ipv6_check. Their compiled bodies are likely to be removed by compiler from the resulting binary, but, to be on the safe side, I remove them from the compiler view. [1] Fixes: 00720f0e7f28 ("smack: avoid unused 'sip' variable warning") Signed-off-by: Konstantin Andreev <andreev@swemel.ru> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions