Project

General

Profile

Devtools » History » Revision 2

Revision 1 (Anonymous, 02/19/2016 10:47 PM) → Revision 2/12 (Anonymous, 02/19/2016 10:47 PM)

= C tools = =C tools= 
 == Formatting == ==Formatting== 
 Lindent, reformat C code to the Linux kernel (and osmocom) coding standards 

 == Patches == ==Patches== 
 git format-patch -1, generate a patch 

 checkpatch.pl, check patches for common errors (Ignore x-signed-off-by) 

 git send-email -1 Send a patch to the mailing list (after configuration) 

 == Testing == ==Testing== 
 make check - run it and don't introduce regressions 

 == Misc == ==Misc== 
 pahole (dwarves), http://www.ohloh.net/p/pahole See the memory layout of structures 

 gdb, debugging 

 valgrind, http://valgrind.org/, dynamic analysis of memory management/threading 

 = Python tools = =Python tools= 
 == Formatting == ==Formatting== 
 pep8, https://pypi.python.org/pypi/pep8 Check formatting for pep8 compliance 

 autopep8, https://github.com/hhatto/autopep8 Reformat code to be pep8-complient 
Add picture from clipboard (Maximum size: 48.8 MB)