mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 16:43:33 +03:00
Make compact json format as default
Saves 20-50% of the output size.
This commit is contained in:
parent
a219cfcda3
commit
eb70fef8ca
2 changed files with 6 additions and 6 deletions
|
|
@ -635,8 +635,8 @@ prof_log_stop(tsdn_t *tsdn) {
|
|||
prof_log_stop_buf, PROF_LOG_STOP_BUFSIZE - 1, 0};
|
||||
|
||||
/* Emit to json. */
|
||||
emitter_init(&emitter, emitter_output_json, buffered_write_cb,
|
||||
&prof_log_stop_buf_arg);
|
||||
emitter_init(&emitter, emitter_output_json_compact,
|
||||
buffered_write_cb, &prof_log_stop_buf_arg);
|
||||
|
||||
emitter_begin(&emitter);
|
||||
prof_log_emit_metadata(&emitter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue