summaryrefslogtreecommitdiff
path: root/nuttx/examples/ostest/main.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-03-13 22:35:23 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-03-13 22:35:23 +0000
commit4735875000348485d80c093c9af83d3029a21bc6 (patch)
treefd06f80b324ecb232a912057c58e370603a154b3 /nuttx/examples/ostest/main.c
parent145f2bf35bfc0e1dabae83cb78413483b01ede0b (diff)
downloadpx4-nuttx-4735875000348485d80c093c9af83d3029a21bc6.tar.gz
px4-nuttx-4735875000348485d80c093c9af83d3029a21bc6.tar.bz2
px4-nuttx-4735875000348485d80c093c9af83d3029a21bc6.zip
Add debug instrumentation; fix pholder freeing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1599 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/ostest/main.c')
-rw-r--r--nuttx/examples/ostest/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/examples/ostest/main.c b/nuttx/examples/ostest/main.c
index 9e2ad02c0..261f7974b 100644
--- a/nuttx/examples/ostest/main.c
+++ b/nuttx/examples/ostest/main.c
@@ -155,6 +155,10 @@ static void check_test_memory_usage(void)
#else
memcpy(&g_mmprevious, &g_mmafter, sizeof(struct mallinfo));
#endif
+
+ /* If so enabled, show the use of priority inheritance resources */
+
+ dump_nfreeholders("user_main:");
}
#else
# define check_test_memory_usage()