malloc_test_params.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
  4. [ <!-- Include general documentation entities -->
  5. <!ENTITY % docentities SYSTEM "../../../docbook/entities.xml">
  6. %docentities;
  7. ]
  8. >
  9. <section id="malloc_test.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
  10. <sectioninfo>
  11. </sectioninfo>
  12. <title>Parameters</title>
  13. <section id="check_content">
  14. <title><varname>check_content</varname></title>
  15. <para>
  16. When doing the tests, check also for the possibility of the
  17. memory being overwritten. When activated, the allocated memory
  18. will be filled with a special pattern, that will be checked on
  19. free.
  20. </para>
  21. <para>
  22. Default: 0 (off).
  23. </para>
  24. <para>
  25. It can be changed also at runtime, via the rpc interface.
  26. </para>
  27. <example>
  28. <title>
  29. Set <varname>check_content</varname> in the config file
  30. </title>
  31. <programlisting>
  32. modparam("malloc_test", "check_content", 1)
  33. </programlisting>
  34. </example>
  35. <example>
  36. <title>
  37. Set <varname>check_content</varname> at runtime via sercmd
  38. </title>
  39. <programlisting>
  40. $ &sercmd; cfg.set_now_int malloc_test check_content 1
  41. </programlisting>
  42. </example>
  43. </section>
  44. </section>