X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=CONTRIBUTING.md;h=0bebf12ef420fce860aaf07f4d57d77a5e4b47e7;hb=1060af5401d38578a731ec042cee2daf3b09b628;hp=6873d78109b05927ed17de73cce8d335389b601a;hpb=20095472d0b5db48cbfb4c912a22d9ab1e3d1c63;p=lttng-tools.git diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6873d7810..0bebf12ef 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,23 +15,7 @@ control. The upstream Git repository URL is: ## Coding standard -LTTng-tools uses the -[Linux kernel coding style](http://www.kernel.org/doc/Documentation/CodingStyle) -with one addition: single-line `if`/`for`/`while` statements must be -wrapped in braces. - -Example: - -~~~ c -/* not good */ -if (this == that) - goto fail; - -/* good */ -if (this == that) { - goto fail; -} -~~~ +See CodingStyle for guidelines style and design guidelines. Although the LTTng-tools code base is primarily written in C, it does contain shell, Perl, and Python code as well. There is no official coding