Re: [PATCH] kernelshark: add .gitignore for generated/build files

Yordan Karadzhov <[email protected]> Mon, 27 Oct 2025 22:01:35 +0200
Newsgroups org.kernel.vger.linux-trace-devel
Message-ID <[email protected]>
Hi Mircea,

On 10/24/25 23:01, Mircea Cirjaliu wrote:
> Not having a .gitignore will bloat git listings.
> Created a .gitignore for all build artifacts.
> 
> Signed-off-by: Mircea Cirjaliu <[email protected]>
> ---
>   .gitignore | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>   create mode 100644 .gitignore
> 
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..38a45ac
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,16 @@
> +.vscode/
> +build/.cmake/
> +build/.qt/
> +build/CMakeCache.txt

There are files that are missing from the list here.
I guess this is because you are missing some of the
optional dependencies.
Please add also:

build/CMakeDoxyfile.in
build/CMakeDoxygenDefaults.cmake
build/CTestTestfile.cmake
build/tests/

> +build/CMakeFiles/
> +build/Makefile
> +build/cmake_install.cmake
> +build/compile_commands.json
> +build/examples/
> +build/include/
> +build/src/
> +bin/
> +lib/

and this directory:

tests/

> +kernelshark.desktop
> +libkshark.pc
> +org.freedesktop.kshark-record.policy

Thanks,
Yordan