From 5294a2ef356758695156a1b29a9b54cab59f46a5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 2 Nov 2021 16:14:28 +0100 Subject: scripts/run-*-example.sh: Set kernel core pattern, to be sure of name and location (current dir) of core file. --- scripts/run-java-example.sh | 1 + scripts/run-native-example.sh | 1 + 2 files changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/run-java-example.sh b/scripts/run-java-example.sh index 88c57fdd..27b19efe 100755 --- a/scripts/run-java-example.sh +++ b/scripts/run-java-example.sh @@ -62,6 +62,7 @@ rm -f $valgrindlogfile callgrindoutfile=$logbasename-callgrind.out rm -f $callgrindoutfile +echo 'core_%e.%p' | sudo tee /proc/sys/kernel/core_pattern ulimit -c unlimited # run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' diff --git a/scripts/run-native-example.sh b/scripts/run-native-example.sh index e7f93e62..174ca595 100755 --- a/scripts/run-native-example.sh +++ b/scripts/run-native-example.sh @@ -115,6 +115,7 @@ rm -f $valgrindlogfile callgrindoutfile=$logbasename-callgrind.out rm -f $callgrindoutfile +echo 'core_%e.%p' | sudo tee /proc/sys/kernel/core_pattern ulimit -c unlimited # run as root 'dpkg-reconfigure locales' enable 'en_US.UTF-8' -- cgit v1.2.3