summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-05-14 18:27:24 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2023-05-22 04:34:38 +0300
commitf4c35484e7f11458c1834b88ee55b746cdabbb09 (patch)
tree6a98f617c5574b6c945aa9dbdf2a3da6e1420432 /tools/perf/scripts/python/exported-sql-viewer.py
parentfc5fa862c49a4d9e23617fbda7d249d2c1b72e56 (diff)
downloadlinux-f4c35484e7f11458c1834b88ee55b746cdabbb09.tar.xz
modpost: clean up is_executable_section()
SHF_EXECINSTR is a bit flag (#define SHF_EXECINSTR 0x4). Compare the masked flag to '!= 0'. There is no good reason to stop modpost immediately even if a special section index is given. You will get a section mismatch error anyway. Also, change the return type to bool. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions