summaryrefslogtreecommitdiff
path: root/talloc_guide.txt
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2744: ben elliston taught me about gcov today, which allows you to measureAndrew Tridgell1-1/+3
the % coverage in terms of lines of code of a test suite. I thought a good first place to start with gcov was the talloc test suite. When I started the test suite covered about 60% of all lines of code in talloc.c, and now it covers about 99%. The only lines not covered are talloc corruption errors, as that would cause smb_panic() to fire. It will be interesting to try gcov on the main Samba test suite for smbd. We won't achieve 100% coverage, but it would be nice to get to 90% or more. I also modified the talloc.c sources to be able to be build standalone, using: gcc -c -D_STANDALONE_ -Iinlcude lib/talloc.c that should make it much easier to re-use talloc in other projects (This used to be commit 8d4dc99b82efdf24b6811851c7bdd4af5a4c52c9)
2007-10-10r2743: fixed some errors in the description of talloc_reference(). VolkerAndrew Tridgell1-6/+38
told me he found the description confusing, and given that some of it was not correct I am not surprised! added some more docs on the reporting calls (This used to be commit 43079cfc80317b6d0d2679f9377aac259e0f8fc7)
2007-10-10r2733: added a note on performanceAndrew Tridgell1-0/+12
(This used to be commit 171fe8209794bb1e61283126ccc165b43fbcfa62)
2007-10-10r2719: an additional note on talloc_unreference()Andrew Tridgell1-0/+5
(This used to be commit 078d13181313f98c1df50185ebae4629cca98ee0)
2007-10-10r2718: - added a talloc_unreference() function as requested by metze.Andrew Tridgell1-0/+11
- added documentation for talloc_unreference() - made the abandoned child logic in talloc_free() clearer and more consistent (This used to be commit a87584c8e3fb06cd3ff29a918f681b5c6c32b9ff)
2007-10-10r2717: added talloc_p() docsAndrew Tridgell1-0/+13
(This used to be commit 6743ca1b1a24776559aa1c04f0f4a33c67cea8a7)
2007-10-10r2716: created a separate detailed talloc_guide.txt document, after volkerAndrew Tridgell1-0/+361
complained it was all too confusing :-) I recommend that everyone who wants to work on Samba4 have a read of this. (This used to be commit c4c427576c02b27d829ae4aaee31cbf893b4a2ad)