diff options
author | Sven Gothel <[email protected]> | 2021-11-02 16:14:28 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-11-02 16:14:28 +0100 |
commit | 5294a2ef356758695156a1b29a9b54cab59f46a5 (patch) | |
tree | 7fdd2d2bfa7521b3752f9b7a6e775468736843f1 /scripts | |
parent | 6fa94e1e1e59e517f7d30dde4015630e5aaed7ae (diff) |
scripts/run-*-example.sh: Set kernel core pattern, to be sure of name and location (current dir) of core file.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-java-example.sh | 1 | ||||
-rwxr-xr-x | scripts/run-native-example.sh | 1 |
2 files changed, 2 insertions, 0 deletions
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' |