summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/minicoredumper/files
Commit message (Collapse)AuthorAgeFilesLines
* minicoredumper: upgrade 2.0.7 -> 2.0.8Li Zhou2026-06-073-152/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade minicoredumper from 2.0.7 to 2.0.8. Remove below patches because they have been merged by 2.0.8 upstream version: 0001-corestripper-Fix-uninitialized-warning.patch 0002-Fix-2038-year-problem-in-timestamp-handling.patch 0001-coreinject-fix-assignment-of-const-qualified-type.patch Changelog: =========== * Address multiple compiler warnings and errors found by more recent toolchains. The issues existed technically, but were not a problem for real-world usage scenarios. * Relocate the man pages for sbin binaries to section 8. * Fix timestamp value in the core dump directory name for 32-bit systems with a 64-bit time_t definition after 2038-01-19. * Improve status query for init script to check core_pattern usage and handle when the regd daemon is not enabled. * Known problems: - If tar is active, core files larger than 8GB will be truncated. If it is known that the core files will be >8GB and the full core file is needed, tar must be disabled. License-Update: The COPYING changes in upstream commit 941079541a update Copyright end dates to reflect when changes were last committed. The COPYING.LGPLv2.1 change in upstream commit 00e3b2fdf7 replaces the FSF postal mailing address with a URL as recommended by the GNU FAQ. No license change, no impact on the recipe licensing. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
* minicoredumper: backport patch to build with glibc 2.43Gyorgy Sarvari2026-03-201-0/+44
| | | | | | | | | | | | As the subject says. Fixes compilation error: | ../../../sources/minicoredumper-2.0.7/src/coreinject/main.c: In function 'inject_data': | ../../../sources/minicoredumper-2.0.7/src/coreinject/main.c:248:11: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] | 248 | p = strrchr(b_fname, '/'); Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: fix 2038 year problem in timestamp handlingJiaying Song2025-12-101-0/+55
| | | | | | | | | | | | | | | | The minicoredumper has multiple 2038 year problems where 'long' type variables and strtol() function calls cause overflow on 32-bit systems when handling timestamps after 2038-01-19. This leads to incorrect timestamp formatting in core dump directory names (e.g., sleep40s.20380119.031407+0000.598). Fix by changing 'long timestamp' to 'time_t timestamp' and replacing strtol() with strtoll() to properly handle 64-bit timestamps on 32-bit systems. Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Fix build with clangKhem Raj2024-01-271-0/+53
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumber: Fix ptest reportingKhem Raj2023-10-041-2/+2
| | | | | | | | | Fixes AssertionError:- ptests which had no test results: ['minicoredumper'] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: upgrade 2.0.2 -> 2.0.3Wang Mingyu2023-02-181-37/+0
| | | | | | | | | | | | | | | | | | | | | | | 0001-minicoredumper_demo-Use-optnone-attribute-with-clang.patch removed since it's included in 2.0.3 Changelog: ========== * Dump zero-blocks as 4KB blocks instead of single bytes to speed up piping to the compressor. (Only relevant if tar is not used.) * Drop core data exceeding the ustar 8GB limit. The core file is appropriately truncated and the actions are logged. This fixes tar file corruption for core files >8GB. * Known problems: - If tar is active, core files larger than 8GB will be truncated. If it is known that the core files will be >8GB and the full core file is needed, tar must be disabled. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Upgrade to 2.0.2 releaseKhem Raj2023-02-043-161/+37
| | | | | | | Drop patches already upstreamed. Add patch to fix tests with clang compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Add ptestSimone Weiss2023-02-031-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the demo from minicoredumper - that is intended as a test for it - as a ptest for minicoredumper. Result example: root@qemux86-64:~# ptest-runner minicoredumper START: ptest-runner 2023-02-02T12:27 BEGIN: /usr/lib/minicoredumper/ptest minicoredumper_demo expecting Segmentation fault with core dump ... [ 21.791878] minicoredumper_[330]: segfault at 0 ip 00000000004014f2 sp 00007ffe4271f870 error 4 in minicoredumper_demo[401000+1000] likely on CPU 0 (core 0, socket 0) [ 21.793886] Code: 00 b8 00 00 00 00 e8 7d fb ff ff 83 bd 5c ff ff ff 01 75 2f 48 c7 45 e8 00 00 00 00 bf 58 21 40 00 e8 52 fb ff ff 48 8b 45 e8 <0f> b6 00 0f be c0 89 c6 bf 77 21 40 00 b8 00 00 00 00 e8 47 ff /usr/lib/minicoredumper/ptest/run-ptest: line 6: 330 Segmentation fault minicoredumper_demo minicoredumper SUCCESS DURATION: 3 END: /usr/lib/minicoredumper/ptest 2023-02-02T12:28 STOP: ptest-runner TOTAL: 1 FAIL: 0 root@qemux86-64:~# Please note the Segmentation fault is intended to provoke a coredump. Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com> Signed-off-by: Kai Tomerius <kai.tomerius@elektrobit.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: retry elf parsing as long as neededSakib Sajal2022-06-301-0/+128
| | | | | | | | Maximum number of tries, in rare cases, is insufficient for elf parse. Backport patch that fixes the issue. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Replace pthread_mutexattr_setrobust_np with ↵Khem Raj2021-05-112-29/+33
| | | | | | | | pthread_mutexattr_setrobust Remove unused patch 0001-minicoredumper-Initialize-pointer-to-config-struct-t.patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Update to latestKhem Raj2018-06-181-32/+0
| | | | | | Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: fixes for sysvinit and systemdtexierp2018-05-232-2/+2
| | | | | | | | | The sysv initscript and systemd service assumes minicoredumper is installed in /usr/bin/. In our case minicoredumper is installed in /usr/sbin/ by default. Therefore, fix this path. Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* minicoredumper: Switch src_uri to upstream lf gitKhem Raj2017-09-131-0/+32
| | | | | | | | | | | | | COPYING file changed since copyright is now assined to linutronix from Erricson Fix build on arm Fixes error like corestripper.c:1245:4: error: format specifies type 'unsigned long' but the arg ument has type 'long long' [-Werror,-Wformat] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* minicoredumper: Initialize struct configKhem Raj2017-08-131-0/+29
| | | | | | | Fixes build error with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* minicoredumper: add the recipeRoy Li2016-07-292-0/+51
minicoredumper provides an alternate core dump facility for Linux to allow minimal and customized crash dumps Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>