mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-25 04:12:12 +03:00
Simplify signatures for prof dump functions
This commit is contained in:
parent
5d823f3a91
commit
d4259ea53b
3 changed files with 54 additions and 61 deletions
|
|
@ -87,8 +87,7 @@ TEST_END
|
|||
bool prof_dump_header_intercepted = false;
|
||||
prof_cnt_t cnt_all_copy = {0, 0, 0, 0};
|
||||
static void
|
||||
prof_dump_header_intercept(tsdn_t *tsdn, write_cb_t *cb, void *cbopaque,
|
||||
const prof_cnt_t *cnt_all) {
|
||||
prof_dump_header_intercept(void *opaque, const prof_cnt_t *cnt_all) {
|
||||
prof_dump_header_intercepted = true;
|
||||
memcpy(&cnt_all_copy, cnt_all, sizeof(prof_cnt_t));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue