diff options
author | savrus <savrus@yandex-team.ru> | 2022-02-10 16:50:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:48 +0300 |
commit | 2ee4b26133812e990e7958fc1863d8d5f8ee7f7b (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/ytalloc/api | |
parent | 2056f5ae3bf6e5a65e9885e0add085c708cca5b8 (diff) | |
download | ydb-2ee4b26133812e990e7958fc1863d8d5f8ee7f7b.tar.gz |
Restoring authorship annotation for <savrus@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/ytalloc/api')
-rw-r--r-- | library/cpp/ytalloc/api/fallback.cpp | 6 | ||||
-rw-r--r-- | library/cpp/ytalloc/api/ytalloc.h | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/ytalloc/api/fallback.cpp b/library/cpp/ytalloc/api/fallback.cpp index 77d443161f..5880ede439 100644 --- a/library/cpp/ytalloc/api/fallback.cpp +++ b/library/cpp/ytalloc/api/fallback.cpp @@ -107,9 +107,9 @@ Y_WEAK void EnableLogging(TLogHandler /*logHandler*/) Y_WEAK void SetBacktraceProvider(TBacktraceProvider /*provider*/) { } -Y_WEAK void SetBacktraceFormatter(TBacktraceFormatter /*formatter*/) -{ } - +Y_WEAK void SetBacktraceFormatter(TBacktraceFormatter /*formatter*/) +{ } + //////////////////////////////////////////////////////////////////////////////// Y_WEAK void EnableStockpile() diff --git a/library/cpp/ytalloc/api/ytalloc.h b/library/cpp/ytalloc/api/ytalloc.h index 860998ba84..d942dde638 100644 --- a/library/cpp/ytalloc/api/ytalloc.h +++ b/library/cpp/ytalloc/api/ytalloc.h @@ -177,12 +177,12 @@ using TBacktraceProvider = int(*)(void** frames, int maxFrames, int skipFrames); void SetBacktraceProvider(TBacktraceProvider provider); using TBacktraceFormatter = TString(*)(const void* const* frames, int frameCount); - -// Sets the callback used for formatting backtraces during large arena mmap calls -// to help detect memory leaks. Can be called multiple times (but calls to the -// previous incarnations of the provider are racy). -void SetBacktraceFormatter(TBacktraceFormatter provider); - + +// Sets the callback used for formatting backtraces during large arena mmap calls +// to help detect memory leaks. Can be called multiple times (but calls to the +// previous incarnations of the provider are racy). +void SetBacktraceFormatter(TBacktraceFormatter provider); + //////////////////////////////////////////////////////////////////////////////// // Misc |