]> 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:13 +0000 (13:50 -0500)
commit08cb67251f444c2d3440586ce9a638a4d5437a48
tree6b9377dd752b8778f449e2adacd5e5ae5294d8ad
parentae97aaedb09983f9fbe27f424912f226fc54019d
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]