On Wed, Oct 23, 2024 at 1:08 PM Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote: > > Implement a helper function to disable memory allocation profiling and > use it when creation of /proc/allocinfo fails. > Ensure /proc/allocinfo does not get created when memory allocation > profiling is disabled. > > Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx> Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>