Correct prof header macro namings

This commit is contained in:
Yinan Zhang 2020-03-31 09:42:11 -07:00
parent c8683bee80
commit f43ac8543e
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
#ifndef JEMALLOC_INTERNAL_PROF_DATA_EXTERNS_H
#define JEMALLOC_INTERNAL_PROF_DATA_EXTERNS_H
#ifndef JEMALLOC_INTERNAL_PROF_DATA_H
#define JEMALLOC_INTERNAL_PROF_DATA_H
#include "jemalloc/internal/mutex.h"
@ -19,4 +19,4 @@ void bt_init(prof_bt_t *bt, void **vec);
void prof_backtrace(tsd_t *tsd, prof_bt_t *bt);
void prof_tctx_try_destroy(tsd_t *tsd, prof_tctx_t *tctx);
#endif /* JEMALLOC_INTERNAL_PROF_DATA_EXTERNS_H */
#endif /* JEMALLOC_INTERNAL_PROF_DATA_H */

View File

@ -1,5 +1,5 @@
#ifndef JEMALLOC_INTERNAL_PROF_LOG_EXTERNS_H
#define JEMALLOC_INTERNAL_PROF_LOG_EXTERNS_H
#ifndef JEMALLOC_INTERNAL_PROF_LOG_H
#define JEMALLOC_INTERNAL_PROF_LOG_H
#include "jemalloc/internal/mutex.h"
@ -16,4 +16,4 @@ bool prof_log_is_logging(void);
bool prof_log_rep_check(void);
void prof_log_dummy_set(bool new_value);
#endif /* JEMALLOC_INTERNAL_PROF_LOG_EXTERNS_H */
#endif /* JEMALLOC_INTERNAL_PROF_LOG_H */

View File

@ -1,5 +1,5 @@
#ifndef JEMALLOC_INTERNAL_PROF_RECENT_EXTERNS_H
#define JEMALLOC_INTERNAL_PROF_RECENT_EXTERNS_H
#ifndef JEMALLOC_INTERNAL_PROF_RECENT_H
#define JEMALLOC_INTERNAL_PROF_RECENT_H
extern malloc_mutex_t prof_recent_dump_mtx;
@ -15,4 +15,4 @@ extern prof_recent_list_t prof_recent_alloc_list;
edata_t *prof_recent_alloc_edata_get_no_lock_test(const prof_recent_t *node);
prof_recent_t *edata_prof_recent_alloc_get_no_lock_test(const edata_t *edata);
#endif /* JEMALLOC_INTERNAL_PROF_RECENT_EXTERNS_H */
#endif /* JEMALLOC_INTERNAL_PROF_RECENT_H */