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 | 2056f5ae3bf6e5a65e9885e0add085c708cca5b8 (patch) | |
tree | 253bee3c01d51bffda855b0fb547d9b755f669b0 /library/cpp/ytalloc/api | |
parent | 445df920f2d83b93084aba764d98163d25598cda (diff) | |
download | ydb-2056f5ae3bf6e5a65e9885e0add085c708cca5b8.tar.gz |
Restoring authorship annotation for <savrus@yandex-team.ru>. Commit 1 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 5880ede439..77d443161f 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 d942dde638..860998ba84 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 |