summaryrefslogtreecommitdiff
path: root/tools/leds
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-04-23 11:13:43 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-04-23 14:05:27 -0700
commit41c472e85b531a228067bee9be59a508900bcd9f (patch)
tree9249f048b3cd2569ffcfae262ef4feb6032cc481 /tools/leds
parent0a342457b3bd36e6f9b558da3ff520dee35c5363 (diff)
downloadlinux-riscv-41c472e85b531a228067bee9be59a508900bcd9f.tar.gz
linux-riscv-41c472e85b531a228067bee9be59a508900bcd9f.tar.bz2
linux-riscv-41c472e85b531a228067bee9be59a508900bcd9f.zip
selftests/bpf: Use -O0 instead of -Og in selftests builds
While -Og is designed to work well with debugger, it's still inferior to -O0 in terms of debuggability experience. It will cause some variables to still be inlined, it will also prevent single-stepping some statements and otherwise interfere with debugging experience. So switch to -O0 which turns off any optimization and provides the best debugging experience. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210423181348.1801389-14-andrii@kernel.org
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions