]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ast_coredumper: Refactor to better find things
authorGeorge Joseph <gjoseph@digium.com>
Thu, 9 Sep 2021 14:39:27 +0000 (08:39 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 28 Oct 2021 18:50:43 +0000 (13:50 -0500)
commit8aea2e59296b217658bc878dba9beec6ff55b6ad
treeccf2ef91442e6e608c390c9c044d296067a6d5e4
parent67d1f881eb85ebc483c634a717caadd422d669ef
ast_coredumper:  Refactor to better find things

The search for a running asterisk when --running is used
has been greatly simplified and in the event it doesn't
work, you can now specify a pid to use on the command
line with --pid.

The search for asterisk modules when --tarball-coredumps
is used has been enhanced to have a better chance of finding
them and in the event it doesn't work, you can now specify
--libdir on the command line to indicate the library directory
where they were installed.

The DATEFORMAT variable was renamed to DATEOPTS and is now
passed to the 'date' utility rather than running DATEFORMAT
as a command.

The coredump and output files are now renamed with DATEOPTS.
This can be disabled by specifying --no-rename.

Several confusing and conflicting options were removed:
--append-coredumps
--conffile
--no-default-search
--tarball-uniqueid

The script was re-structured to make it easier for follow.

Change-Id: I674be64bdde3ef310b6a551d4911c3b600ffee59
configs/samples/ast_debug_tools.conf.sample
contrib/scripts/ast_coredumper
doc/CHANGES-staging/ast_coredumper.txt [new file with mode: 0644]