Home
last modified time | relevance | path

Searched refs:oldRlimit (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/crasher_c/
H A Ddfx_crasher.c177 struct rlimit oldRlimit; in Oom() local
178 if (getrlimit(RLIMIT_AS, &oldRlimit) != 0) { in Oom()
183 (uint64_t)oldRlimit.rlim_cur, (uint64_t)oldRlimit.rlim_max); in Oom()
200 if (setrlimit(RLIMIT_AS, &oldRlimit) != 0) { in Oom()
/base/hiviewdfx/faultloggerd/tools/crasher_cpp/
H A Ddfx_crasher.cpp368 struct rlimit oldRlimit; in Oom() local
369 if (getrlimit(RLIMIT_AS, &oldRlimit) != 0) { in Oom()
373 std::cout << std::hex << "old rlimit, cur:0x" << oldRlimit.rlim_cur << std::endl; in Oom()
374 std::cout << std::hex << "old rlimit, max:0x" << oldRlimit.rlim_max << std::endl; in Oom()
392 if (setrlimit(RLIMIT_AS, &oldRlimit) != 0) { in Oom()

Completed in 2 milliseconds