aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/memusagestat
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-11 21:23:41 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-14 18:36:20 +0100
commit3b6c02e9864b9fe72bb4e360a72c8199a0218774 (patch)
tree47243edc5e937e8ef6a00609a37d54d905ba4735 /recipes/memusagestat
parente0ce766db26233fdd16c85e9b3008a17596b17ec (diff)
downloadopenembedded-3b6c02e9864b9fe72bb4e360a72c8199a0218774.tar.gz
openembedded-3b6c02e9864b9fe72bb4e360a72c8199a0218774.tar.bz2
openembedded-3b6c02e9864b9fe72bb4e360a72c8199a0218774.zip
memusagestat_2.11.bb: Add memusagestat
This is a small tool that can turn the memory trace of glibc into a nice graph.
Diffstat (limited to 'recipes/memusagestat')
-rw-r--r--recipes/memusagestat/memusagestat_2.11.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/memusagestat/memusagestat_2.11.bb b/recipes/memusagestat/memusagestat_2.11.bb
new file mode 100644
index 0000000000..56afaced9e
--- /dev/null
+++ b/recipes/memusagestat/memusagestat_2.11.bb
@@ -0,0 +1,19 @@
+LICENSE = "GPL"
+DESCRIPTION = "Generate graphic from memory profiling data"
+
+DEPENDS = "gd"
+SRC_URI = "http://www.secretlabs.de/memusagestat.c;name=tarball"
+
+SRC_URI[tarball.md5sum] = "981a7f34d891dfd2e4696354d284a328"
+SRC_URI[tarball.sha256sum] = "b4c0a9353cffa57c5af5fc304b3cc322ca3a0ff78149471f6cf5d5c249054b49"
+
+S = "${WORKDIR}"
+
+do_compile() {
+ ${CC} -o memusagestat memusagestat.c ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -lgd
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 memusagestat ${D}/${bindir}
+}