asterisk/main
Sean Bright 8f5df046f6 core: Add some documentation to the malloc_trim code
This adds documentation to handle_cli_malloc_trim() indicating how it
can be useful when debugging OOM conditions.

Change-Id: I1936185e78035bf123cd5e097b793a55eeebdc78
2018-12-03 17:47:26 -05:00
..
stdtime Merge "BuildSystem: Cast any intptr_t explicitly to its proposed type." 2018-03-06 13:17:54 -06:00
.gitignore build-system: Allow building with static pjproject 2016-03-01 09:30:43 -07:00
Makefile bridges: Remove reliance on stasis caching 2018-11-26 14:30:02 -07:00
abstract_jb.c abstract_jb: Remove silly usage of RAII_VAR. 2017-11-20 14:03:25 -06:00
acl.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
adsi.c Allow Asterisk to compile under GCC 4.10 2014-05-09 22:49:26 +00:00
alaw.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
alertpipe.c utils: Add convenience function for setting fd flags 2017-12-08 13:28:04 -06:00
aoc.c stasis: Use an implementation specific channel snapshot cache. 2018-11-26 18:43:53 +00:00
app.c stasis: Use an implementation specific channel snapshot cache. 2018-11-26 18:43:53 +00:00
ast_expr2.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
ast_expr2.fl Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
ast_expr2.h Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
ast_expr2.y Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
ast_expr2f.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
asterisk.c core: Fix handling of restart from remote console. 2018-11-15 06:34:19 -05:00
asterisk.dynamics Fix error loading res_monitor. 2014-04-23 15:02:39 +00:00
asterisk.exports.in core: Remove additional symbols. 2018-03-19 18:00:20 -04:00
astfd.c main/astfd: Fix GCC8 format-truncation warning. 2018-10-12 12:21:47 -05:00
astmm.c backtrace: Refactor ast_bt_get_symbols so it doesn't crash 2018-11-19 05:49:39 -07:00
astobj2.c refdebug: Create refstats.py script. 2018-10-15 15:35:35 -05:00
astobj2_container.c astobj2: Create function to copy weak proxied objects from container. 2018-11-21 08:47:27 -05:00
astobj2_container_private.h Astobj2: Allow reference debugging to be enabled/disabled by config. 2015-04-27 18:37:26 -04:00
astobj2_hash.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
astobj2_private.h Astobj2: Allow reference debugging to be enabled/disabled by config. 2015-04-27 18:37:26 -04:00
astobj2_rbtree.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
audiohook.c audiohook.c: Fix freeing a frame and still using it. 2017-11-15 17:07:07 -05:00
autochan.c autochan/mixmonitor/chanspy: Fix unsafe channel locking and references. 2017-03-15 17:18:55 -06:00
autoservice.c autoservice: Don't start channel autoservice if the thread is a user interface. 2018-06-19 15:02:52 -05:00
backtrace.c backtrace: Refactor ast_bt_get_symbols so it doesn't crash 2018-11-19 05:49:39 -07:00
bridge.c bridges: Remove reliance on stasis caching 2018-11-26 14:30:02 -07:00
bridge_after.c stasis/control: Fix possible deadlock with swap channel 2017-09-06 13:00:49 -05:00
bridge_basic.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
bridge_channel.c bridge_channel.c: Fix Deadlock when using Local channels and fax gateway 2018-06-05 05:37:54 -06:00
bridge_roles.c bridge_roles: Use a non-locking linked list where appropriate 2018-02-15 14:31:32 -06:00
bucket.c astobj2: Eliminate legacy container allocation macros. 2018-10-19 17:33:05 -04:00
buildinfo.c fix a few small things found by using sparse 2008-10-30 16:49:02 +00:00
callerid.c Replace direct checks of option_debug with DEBUG_ATLEAST macro. 2018-03-07 16:03:01 -06:00
ccss.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
cdr.c bridges: Remove reliance on stasis caching 2018-11-26 14:30:02 -07:00
cel.c bridges: Remove reliance on stasis caching 2018-11-26 14:30:02 -07:00
channel.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
channel_internal_api.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
chanvars.c core: Remove ABI effects of MALLOC_DEBUG. 2018-03-01 13:13:55 -06:00
cli.c core: Add some documentation to the malloc_trim code 2018-12-03 17:47:26 -05:00
codec.c astobj2: Eliminate legacy container allocation macros. 2018-10-19 17:33:05 -04:00
codec_builtin.c core: Add VP9 passthrough support. 2017-07-24 18:30:59 +00:00
config.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
config_options.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
conversions.c core/conversions: Added string to unsigned integer and long conversions 2017-05-17 17:41:11 -05:00
core_local.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
core_unreal.c core: Reduce video update queueing. 2017-08-28 11:12:50 -05:00
crypt.c BuildSystem: Fix build on FreeBSD due to missing crypt.h 2017-06-08 10:42:54 -05:00
cygload.c Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
data_buffer.c res_rtp_asterisk: Add support for sending NACK requests. 2018-07-18 13:37:03 -05:00
datastore.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
db.c Fix 'statement' typo throughout code. 2018-10-18 12:44:10 -05:00
devicestate.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
dial.c channel: Remove old epoll support and fixed max number of file descriptors. 2017-03-27 19:54:44 +00:00
dns.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
dns_core.c core: Remove non-critical cleanup from startup aborts. 2018-03-13 13:46:08 -04:00
dns_naptr.c AST-2018-010: Fix length of buffer needed for SRV and NAPTR results 2018-11-14 09:25:32 -05:00
dns_query_set.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
dns_recurring.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
dns_srv.c AST-2018-010: Fix length of buffer needed for SRV and NAPTR results 2018-11-14 09:25:32 -05:00
dns_system_resolver.c core: Remove non-critical cleanup from startup aborts. 2018-03-13 13:46:08 -04:00
dns_test.c dns: Fix build when TEST_FRAMEWORK is not defined. 2015-04-10 13:32:24 +00:00
dns_tlsa.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
dnsmgr.c loader: Process dependencies for built-in modules. 2018-07-26 14:29:18 -05:00
dsp.c loader: Process dependencies for built-in modules. 2018-07-26 14:29:18 -05:00
ecdisa.h Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
endpoints.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
enum.c loader: Process dependencies for built-in modules. 2018-07-26 14:29:18 -05:00
event.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
features.c loader: Process dependencies for built-in modules. 2018-07-26 14:29:18 -05:00
features_config.c astobj2: Eliminate legacy container allocation macros. 2018-10-19 17:33:05 -04:00
features_config.h loader: Convert reload_classes to built-in modules. 2018-03-14 05:20:12 -04:00
file.c Add the ability to read the media file type from HTTP header for playback 2018-04-30 16:30:44 -04:00
fixedjitterbuf.c abstract/fixed/adpative jitter buffer: disallow frame re-inserts 2017-01-17 17:08:53 -06:00
fixedjitterbuf.h abstract/fixed/adpative jitter buffer: disallow frame re-inserts 2017-01-17 17:08:53 -06:00
format.c astobj2: Eliminate legacy container allocation macros. 2018-10-19 17:33:05 -04:00
format_cache.c astobj2: Eliminate legacy container allocation macros. 2018-10-19 17:33:05 -04:00
format_cap.c format_cap: Fix leak on AST_VECTOR_APPEND error. 2017-11-06 16:07:01 -05:00
format_compatibility.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
frame.c core/frame: Fix ast_frdup() and ast_frisolate() for empty text frames 2018-10-02 11:25:25 -05:00
framehook.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
fskmodem.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
fskmodem_float.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
fskmodem_int.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
global_datastores.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
hashtab.c core: Remove ABI effects of MALLOC_DEBUG. 2018-03-01 13:13:55 -06:00
heap.c core: Remove ABI effects of MALLOC_DEBUG. 2018-03-01 13:13:55 -06:00
http.c http.c: Reload TLS even if http.conf hasn't changed 2018-10-03 08:35:12 -05:00
image.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
indications.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
io.c Core: Add support for systemd socket activation. 2017-06-19 13:33:48 -04:00
iostream.c iostream.c: Fix ast_iostream_gets() needlessly returning failure. 2018-08-30 17:12:11 -05:00
jitterbuf.c Fix Common Typo's. 2017-12-20 12:40:01 -05:00
json.c Merge "jansson: Backport fixes to bundled, use json_vsprintf if available." 2018-09-26 11:09:50 -05:00
libasteriskpj.c PJPROJECT logging: Fix detection of max supported log level. 2017-01-24 11:25:19 -06:00
libasteriskssl.c libasteriskssl: Allow OpenSSL 1.0.2 configured with no-deprecated. 2018-05-20 13:55:26 +02:00
libasteriskssl.exports.in Address OpenSSL initialization issues when using third-party libraries. 2012-01-30 21:21:16 +00:00
loader.c loader: Flag module as declined in all cases where it fails to load. 2018-10-04 19:40:47 -04:00
lock.c lock: Replace __ast_mutex_logger with private log_mutex_error. 2018-10-19 12:34:08 -04:00
logger.c backtrace: Refactor ast_bt_get_symbols so it doesn't crash 2018-11-19 05:49:39 -07:00
manager.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
manager_bridges.c bridges: Remove reliance on stasis caching 2018-11-26 14:30:02 -07:00
manager_channels.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
manager_endpoints.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
manager_mwi.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
manager_system.c Remove constant conditionals (dead-code). 2017-12-19 09:42:19 -05:00
max_forwards.c Detect potential forwarding loops based on count. 2015-04-17 15:58:07 -05:00
md5.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
media_cache.c astobj2: Eliminate legacy container allocation macros. 2018-10-19 17:33:05 -04:00
media_index.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
message.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
mixmonitor.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
named_acl.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
named_locks.c core: Use macros to generate ao2_container callbacks where possible. 2017-12-30 13:20:16 -05:00
netsock2.c netsock2: Add ast_sockaddr_resolve_first_af to netsock2 public API 2018-05-21 11:03:10 -05:00
optional_api.c optional_api: Refactor to use vector's and standard allocators. 2018-02-12 22:53:35 -05:00
options.c core: Ensure that el_end is always run when needed. 2018-11-11 09:23:15 -05:00
parking.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
pbx.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
pbx_app.c cli: Enable ast_cli_completion_add on public completion generators. 2018-03-15 07:25:28 -04:00
pbx_builtins.c core: Remove non-critical cleanup from startup aborts. 2018-03-13 13:46:08 -04:00
pbx_functions.c Fix some doxygen and curly placement. 2018-06-19 10:46:46 -06:00
pbx_hangup_handler.c cli: Fix various CLI documentation and completion issues 2017-02-13 11:33:15 -05:00
pbx_ignorepat.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
pbx_include.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
pbx_private.h pbx: Create pbx_sw.c for management of 'struct ast_sw'. 2016-07-21 13:58:26 -04:00
pbx_sw.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
pbx_switch.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
pbx_timing.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
pbx_variables.c pbx_variables.c: Misc fixes in variable substitution. 2018-01-22 12:38:13 -06:00
pickup.c astobj2: Eliminate legacy container allocation macros. 2018-10-19 17:33:05 -04:00
plc.c loader: Process dependencies for built-in modules. 2018-07-26 14:29:18 -05:00
poll.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
presencestate.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
privacy.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
rtp_engine.c Merge "rtp_engine: rtcp_report_to_json can overflow the ssrc integer value" 2018-09-26 08:02:28 -05:00
say.c say: Remove legacy language deprecation logic 2018-10-23 08:43:41 -04:00
sched.c sched: Make ABI compatible between dev mode and non-dev mode. 2018-07-22 10:46:39 -05:00
sdp_srtp.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
security_events.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
sem.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
sha1.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
sip_api.c Don't make chan_sip export global symbols. 2012-10-11 15:49:02 +00:00
slinfactory.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
smoother.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
sorcery.c astobj2: Eliminate legacy container allocation macros. 2018-10-19 17:33:05 -04:00
sounds.c loader: Process dependencies for built-in modules. 2018-07-26 14:29:18 -05:00
srv.c srv: Fix crash when ast_srv_lookup is used and 0 records are returned. 2017-02-07 12:13:23 -06:00
stasis.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
stasis_bridges.c bridges: Remove reliance on stasis caching 2018-11-26 14:30:02 -07:00
stasis_cache.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
stasis_cache_pattern.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
stasis_channels.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
stasis_endpoints.c AMI: Remove docs for nonexistent AMI ContactStatus event headers 2018-08-20 12:32:58 -05:00
stasis_message.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
stasis_message_router.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
stasis_system.c stasis_system: Remove silly usage of RAII_VAR. 2018-01-09 18:55:06 -06:00
strcompat.c core: Remove ABI effects of MALLOC_DEBUG. 2018-03-01 13:13:55 -06:00
stream.c stream: Make the topology a reference counted object. 2018-05-03 16:31:56 +00:00
stringfields.c stringfields: Remove MALLOC_DEBUG fields from struct ast_string_field_mgr. 2018-03-13 16:24:06 -04:00
strings.c core: Remove ABI effects of MALLOC_DEBUG. 2018-03-01 13:13:55 -06:00
stun.c STUN/netsock2: Fix some valgrind uninitialized memory findings. 2017-08-10 14:38:12 -05:00
syslog.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
taskprocessor.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
tcptls.c autoservice: Don't start channel autoservice if the thread is a user interface. 2018-06-19 15:02:52 -05:00
tdd.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
term.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test.c test.c: Make output jUnit compatible 2018-07-06 12:53:03 -05:00
threadpool.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
threadstorage.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
timing.c loader: Create ast_module_running_ref. 2018-01-03 17:23:36 -05:00
translate.c translate: generic plc not filled in after translation 2018-04-24 14:54:25 -06:00
udptl.c loader: Process dependencies for built-in modules. 2018-07-26 14:29:18 -05:00
ulaw.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
uri.c uri: Quiet warning about type qualifiers ignored on function return type 2014-08-21 14:42:12 +00:00
utils.c backtrace: Refactor ast_bt_get_symbols so it doesn't crash 2018-11-19 05:49:39 -07:00
uuid.c uuid: Enable UUID in Solaris 11. 2018-06-23 08:26:19 +02:00
xml.c xmldoc.c: Fix dump of xml document 2018-07-23 06:47:20 -05:00
xmldoc.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00