Respect --coredump flag when going RT
RIO doesn't have enough disk bandwidth to core dump, so let's not try.
THis is why we were doing it.
Change-Id: I403a116bbf52f2c1876ad7810c280a0810ab1c5d
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/realtime.cc b/aos/realtime.cc
index c58e2e6..f8ab639 100644
--- a/aos/realtime.cc
+++ b/aos/realtime.cc
@@ -97,7 +97,6 @@
SetSoftRLimit(RLIMIT_MEMLOCK, RLIM_INFINITY, SetLimitForRoot::kNo,
"use --skip_locking_memory to not lock memory.");
- WriteCoreDumps();
PCHECK(mlockall(MCL_CURRENT | MCL_FUTURE) == 0)
<< ": Failed to lock memory, use --skip_locking_memory to bypass this. "
"Bypassing will impact RT performance.";