FS#17855 - [glibc] and libmemusage
Attached to Project:
Arch Linux
Opened by Dimitrios Apostolou (jimis) - Friday, 15 January 2010, 18:34 GMT
Last edited by Allan McRae (Allan) - Saturday, 16 January 2010, 00:27 GMT
Opened by Dimitrios Apostolou (jimis) - Friday, 15 January 2010, 18:34 GMT
Last edited by Allan McRae (Allan) - Saturday, 16 January 2010, 00:27 GMT
|
Details
glibc comes with a very nice tool, libmemusage. To try it
just run
LD_PRELOAD=/lib/libmemusage.so executable However to enjoy the full functionality of this tool we also need "memusagestat" and "memusage.sh", from malloc/ directory in glibc tree. The ugly thing is that memusagestat needs libgd to compile, and that's too much for a dependency of glibc. So I suggest to create a separate package "memusage" with those three files from glibc: libmemusage.so, memusage.sh, memusagestat. What do you think? |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 16 January 2010, 00:27 GMT
Reason for closing: Won't implement
Additional comments about closing: See comment
Saturday, 16 January 2010, 00:27 GMT
Reason for closing: Won't implement
Additional comments about closing: See comment
Comment by Allan McRae (Allan) -
Saturday, 16 January 2010, 00:26 GMT
The main problem here is that split packages can not go in
different repos. So this would need to be done in a separate
PKGBUILD from glibc. So, I suggest makeing one for the AUR and if
popularity warrants, I will move it to [extra].