Split out the kernel symbol detection code.
[virt-mem.git] / HACKING
1 We build all the tools into a single virt-mem executable, in order to
2 share the most runtime.  Almost all the code between individual tools
3 is shared anyway.
4
5 lib/
6
7  - The common core of all the tools.  Library, kernel symbols, command
8    line handling, memory images, etc.
9
10    lib/virt_mem.ml contains most of the important 'glue' code.
11
12 uname/
13 dmesg/
14   etc.
15
16  - The code specific to each tool.  This is usually rather small because
17    the code in lib/ does the hard work.
18
19 mem/
20
21  - This brings everything together and links it into a single executable.
22    Other than that purpose, there is almost nothing in this directory.