koolhazz / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

gperftools uclibc support #593

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Add uclibc support for MIPS

What is the expected output? What do you see instead?
Currently gperftools doesn't support uclibc. Hope it supports uclibc.

What version of the product are you using? On what operating system?
gperftools git trunk.

Please provide any additional information below.
My patch is listed in 
https://github.com/xiaoyur347/gperftools_uclibc/commit/906da2012464b0f78d0a900e3
64574909f9b7daf

Original issue reported on code.google.com by xiaoyur...@gmail.com on 15 Dec 2013 at 3:05

GoogleCodeExporter commented 9 years ago
Need patch:
https://github.com/xiaoyur347/gperftools_uclibc/commit/906da2012464b0f78d0a900e3
64574909f9b7daf
https://github.com/xiaoyur347/gperftools_uclibc/commit/b068d038c86f54c12be6cdd20
700fef49cd03cee
https://github.com/xiaoyur347/gperftools_uclibc/commit/36cd5bffc0374c9f578561e71
0d0ec4aa9d10232

For uclibc:
Avoid use sbrk allocator for uclibc.
stacktrace_config.h:detect __UCLIBC__ macro
Makefile.am:uclibc gcc not implicit add -lstdc++ for c++ lib(tcmalloc)

For heap profile signal support:
avoid deadlock under heap profile signal

Original comment by xiaoyur...@gmail.com on 17 Dec 2013 at 3:37

GoogleCodeExporter commented 9 years ago
Corresponding patches where merged last week. Thanks again.

Original comment by alkondratenko on 30 Dec 2013 at 8:06