MCPcopy Create free account
hub / github.com/catboost/catboost / MadviseIncludeIntoCoreDump

Function MadviseIncludeIntoCoreDump

util/system/madvise.cpp:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void MadviseIncludeIntoCoreDump(const void* begin, size_t size) {
111#if defined(_darwin_)
112 Y_UNUSED(begin);
113 Y_UNUSED(size);
114#elif !defined(_win_)
115 Madvise(MADV_DODUMP, begin, size);
116#endif
117}
118
119void MadviseIncludeIntoCoreDump(TArrayRef<const char> data) {
120 MadviseIncludeIntoCoreDump(data.data(), data.size());

Callers

nothing calls this directly

Calls 4

Y_UNUSEDFunction · 0.85
MadviseFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected