summaryrefslogtreecommitdiffstats
path: root/rules/failmalloc.in
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2009-03-16 17:27:10 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2009-03-16 17:27:10 +0000
commit1e6ef8ffcef25f701fe25f0e61bf54f3b5bec6d6 (patch)
tree7b343108b252367408a95207ff76d5fca6acd82d /rules/failmalloc.in
parent680e6efdceba4e1ff0764d2b53ccdde6d28f24a7 (diff)
downloadptxdist-1e6ef8ffcef25f701fe25f0e61bf54f3b5bec6d6.tar.gz
ptxdist-1e6ef8ffcef25f701fe25f0e61bf54f3b5bec6d6.tar.xz
* failmalloc: This library should help to torture your application
- package added git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10099 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/failmalloc.in')
-rw-r--r--rules/failmalloc.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/rules/failmalloc.in b/rules/failmalloc.in
new file mode 100644
index 000000000..613faf8c9
--- /dev/null
+++ b/rules/failmalloc.in
@@ -0,0 +1,10 @@
+## SECTION=debug_tools
+config FAILMALLOC
+ tristate
+ prompt "failmalloc"
+ help
+ The idea behind failmalloc is to demonstrate what really happens if
+ memory allocation fails. Refer http://www.nongnu.org/failmalloc/ for
+ further details and how to use it. This library can be used on demand
+ with the LD_PRELOAD mechanism.
+