(start list of debug features) |
(rework the TODO somewhat) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
= Specific Debug Features = | = Specific Debug Features = | ||
{{admon/important|To be written|Need to gather a list of debug features here. | {{admon/important|To be written|Need to gather a list of debug features here. | ||
TODO: | |||
* kernel hooks | |||
* glibc hooks: MALLOC_PERTURB | |||
* any more? glib? | |||
For each one: | For each one: | ||
== Template == | == Template == | ||
'''What it does:''' | <br/>'''What it does:''' | ||
'''What is the performance cost:''' | <br/>'''What is the performance cost:''' | ||
''' | <br/>'''How to tell if it's turned on:''' | ||
''' | <br/>'''Bugs found using it:''' | ||
}} | |||
= Login message = | = Login message = | ||
We ought to give people a heads-up that they're running with debug features, and link to information on them, to avoid e.g. bad benchmarks. | |||
== At terminal == | == At terminal == | ||
<pre> | <pre> |
Latest revision as of 17:48, 6 May 2010
There's a trade-off to be made between performance and debugging. During the "rawhide" phase where we develop Fedora N+1 it makes sense to turn on some debug features that catch bugs, but which incur performance cost. We can then turn them off whilst polishing the release.
Specific Debug Features
Login message
We ought to give people a heads-up that they're running with debug features, and link to information on them, to avoid e.g. bad benchmarks.
At terminal
Fedora release 15 (Sesquipedalian) Kernel 2.6.33.3-79.fc13.x86_64 on an x86_64 This is a pre-release version of Fedora, and is running with extra diagnostics that help find bugs, but impact performance. Please read [[DaveMalcolm/DebugSettings]] before attempting to run benchmarks on this system.
How to do this? /etc/issue ?
Graphical desktop
Pop up a dialog with the same text:
+--------------------------------------------------------------------+ | This is a pre-release version of Fedora, and is running with extra | | diagnostics that help find bugs, but impact performance. | | | | Please read [[DaveMalcolm/DebugSettings]] | | before attempting to run benchmarks on this system. | | | | [ ] Don't show this again | | [ OK ] | +--------------------------------------------------------------------+