mirror of
https://github.com/torvalds/linux.git
synced 2025-11-30 23:16:01 +07:00
compile_commands.json can be used with clangd to enable language server protocol-based assistance. For kernel itself this can be built with scripts/gen_compile_commands.py, but other projects (e.g., libbpf, or BPF selftests) can benefit from their own compilation database file, which can be generated successfully using external tools, like bear [0]. So, instead of adding compile_commands.json to .gitignore in respective individual projects, let's just ignore it globally anywhere in Linux repo. While at it, remove exactly such a local .gitignore rule under tools/power/cpupower. [0] https://github.com/rizsotto/Bear Reviewed-by: Nathan Chancellor <nathan@kernel.org> Suggested-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Miguel Ojeda <ojeda@kernel.org> Link: https://lore.kernel.org/r/20250606214840.3165754-1-andrii@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
30 lines
525 B
Plaintext
30 lines
525 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
.libs
|
|
libcpupower.so
|
|
libcpupower.so.*
|
|
build/ccdv
|
|
cpufreq-info
|
|
cpufreq-set
|
|
cpufreq-aperf
|
|
lib/.libs
|
|
lib/cpufreq.lo
|
|
lib/cpufreq.o
|
|
lib/proc.lo
|
|
lib/proc.o
|
|
lib/sysfs.lo
|
|
lib/sysfs.o
|
|
po/cpupowerutils.pot
|
|
po/*.gmo
|
|
utils/cpufreq-info.o
|
|
utils/cpufreq-set.o
|
|
utils/cpufreq-aperf.o
|
|
cpupower
|
|
bench/cpufreq-bench
|
|
debug/kernel/Module.symvers
|
|
debug/i386/centrino-decode
|
|
debug/i386/dump_psb
|
|
debug/i386/intel_gsic
|
|
debug/i386/powernow-k8-decode
|
|
debug/x86_64/centrino-decode
|
|
debug/x86_64/powernow-k8-decode
|