mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 05:03:10 +00:00
Add support for namespace pids in heap profile names
This change adds support for writing pid namespaces to the filename of a heap profile. When running with namespaces pids may reused across namespaces and if mounts are shared where profiles are written there is not a great way to differentiate profiles between pids. Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com> Signed-off-by: Daniel Hodges <hodgesd@fb.com>
This commit is contained in:
@@ -34,6 +34,7 @@ bool opt_prof_final = false;
|
||||
bool opt_prof_leak = false;
|
||||
bool opt_prof_leak_error = false;
|
||||
bool opt_prof_accum = false;
|
||||
bool opt_prof_pid_namespace = false;
|
||||
char opt_prof_prefix[PROF_DUMP_FILENAME_LEN];
|
||||
bool opt_prof_sys_thread_name = false;
|
||||
bool opt_prof_unbias = true;
|
||||
|
||||
Reference in New Issue
Block a user