mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 08:03:32 +03:00
Expose prof testing internal functions
This commit is contained in:
parent
40fa6674a9
commit
b7858abfc0
8 changed files with 46 additions and 58 deletions
|
|
@ -205,12 +205,8 @@ prof_read_sys_thread_name_impl(char *buf, size_t limit) {
|
|||
return ENOSYS;
|
||||
#endif
|
||||
}
|
||||
#ifdef JEMALLOC_JET
|
||||
prof_read_sys_thread_name_t *JET_MUTABLE prof_read_sys_thread_name =
|
||||
prof_read_sys_thread_name_impl;
|
||||
#else
|
||||
#define prof_read_sys_thread_name prof_read_sys_thread_name_impl
|
||||
#endif
|
||||
|
||||
static void
|
||||
prof_fetch_sys_thread_name(tsd_t *tsd) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue