summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorJohn B. Wyatt IV <jwyatt@redhat.com>2024-09-30 19:22:55 +0200
committerShuah Khan <skhan@linuxfoundation.org>2024-09-30 21:51:27 +0200
commit08a26a15a4cdf5f2ca801dd0fbd6806233fbd6b6 (patch)
tree6eeb76c12a963bf6a16c572688994adad400d4f5 /tools/power
parentpm: cpupower: Makefile: Allow overriding cross-compiling env params (diff)
downloadlinux-08a26a15a4cdf5f2ca801dd0fbd6806233fbd6b6.tar.xz
linux-08a26a15a4cdf5f2ca801dd0fbd6806233fbd6b6.zip
pm: cpupower: gitignore: Add compile_commands.json
A compile_commands.json file is used by the LSP in tools like VSCode and Neovim to look up function and type information. The file is specific to the state of the current system; add it to the gitignore. Note: the kernel root's gitignore has a similar entry: /compile_commands.json I am not sure why they use '/' for a file as it is used for directories. Signed-off-by: "John B. Wyatt IV" <jwyatt@redhat.com> Signed-off-by: "John B. Wyatt IV" <sageofredondo@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/cpupower/.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/power/cpupower/.gitignore b/tools/power/cpupower/.gitignore
index 7677329c42a6..5113d5a7aee0 100644
--- a/tools/power/cpupower/.gitignore
+++ b/tools/power/cpupower/.gitignore
@@ -27,3 +27,6 @@ debug/i386/intel_gsic
debug/i386/powernow-k8-decode
debug/x86_64/centrino-decode
debug/x86_64/powernow-k8-decode
+
+# Clang's compilation database file
+compile_commands.json