-bindings/python/__init__.py
-bindings/python/nativebt.py
-bindings/python/nativebt_wrap.c
-bindings/python/__pycache__
-babeltrace.pc
-babeltrace-ctf.pc
-TAGS
+
+# Generated Python files
+*.egg-info
+__pycache__
+/src/bindings/python/bt2/dist
+
+# Generated pkg-config files
+/src/babeltrace2-ctf-writer.pc
+/src/babeltrace2.pc
+
+# Generated configuration/version header files
+/src/common/config.h
+/src/common/config.h.in
+/src/common/version.i
+/src/common/version.i.tmp
+
+# Generated CLI binaries
+/src/cli/*.bin
+/src/cli/babeltrace2
+/src/cli/babeltrace2-log
+
+# Generated `ctf` plugin lexer/parser files
+/src/plugins/ctf/common/src/metadata/tsdl/lexer.cpp
+/src/plugins/ctf/common/src/metadata/tsdl/parser.*pp
+/src/plugins/ctf/common/src/metadata/tsdl/parser.output
+
+# Generated test files
+/tests/**/test-*
+!/tests/**/test-*.sh
+!/tests/**/test-*.[hc]
+!/tests/**/test-*.[hc]pp
+/tests/ctf-writer/ctf-writer
+/tests/lib/conds/conds-triggers
+/tests/lib/plugin
+/tests/plugins/sink.ctf.fs/succeed/gen-trace-double
+/tests/plugins/sink.ctf.fs/succeed/gen-trace-float
+/tests/plugins/src.ctf.fs/succeed/gen-trace-simple
+/tests/utils/env.sh
+
+# Version extra information
+/version
+
+# IDE, editor, development tool, and other files
+*.bkp
+*.gcda
+*.gcno
+*.gcov
+*.html
+*.ide
+*.log
+*.stamp
+*.sublime-project
+*.sublime-workspace
+*.swp
+*~
+.cache/
+.coverage
+.theia
+compile_commands.json