emqx/test
Thales Macedo Garitezi 0260db6640
feat(sys_mon): Add proc_lib:initial_call/1 and current_stacktrace (4.3)
(Same as #6289 )

This adds the information from `proc_lib:initial_call/1` and the
current stacktrace from the process info to `emqx_sys_mon:procinfo/1`
to aid in debugging some warnings with no context such as the
following:

```
2021-11-23T12:33:59.387818+00:00 [warning] info: [{old_heap_block_size,45988046},{heap_block_size,22177879},{mbuf_size,0},{stack_size,40},{old_heap_size,22354134},{heap_size,7106339}], line: 130, mfa: emqx_sys_mon:handle_info/2, msg: large_heap, procinfo: [{pid,<0.2667.0>},{memory,579763664},{total_heap_size,68510672},{heap_size,22177879},{stack_size,40},{min_heap_size,233},{initial_call,{proc_lib,init_p,5}},{current_function,{gen,do_call,4}},{registered_name,[]},{status,running},{message_queue_len,360945},{group_leader,<0.1660.0>},{priority,normal},{trap_exit,false},{reductions,16493271},{last_calls,false},{catchlevel,4},{trace,0},{suspending,[]},{sequential_trace_token,[]},{error_handler,error_handler}]
```
2021-11-25 12:08:02 -03:00
..
emqx_SUITE_data Revert "refactor(emqx_modules): Move modules config to app dir" 2021-02-11 16:44:12 +01:00
emqx_access_SUITE_data refactor(apps): Merge emqx_libs back to emqx 2020-12-04 19:58:58 +01:00
emqx_plugins_SUITE_data/emqx_mini_plugin fix(emqx_plugins): allow loading conf for plugin app dir 2021-05-24 10:45:56 +02:00
props chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_access_control_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_access_rule_SUITE.erl chore(acl): support ipaddr list 2021-07-28 13:54:13 +08:00
emqx_acl_cache_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_acl_test_mod.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_alarm_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_banned_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_batch_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_boot_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_broker_SUITE.erl test(emqx_broker): fix flaky tests 2021-10-05 20:55:36 +02:00
emqx_broker_helper_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_channel_SUITE.erl fix(conf): change `max_topic_levels` default configuration 2021-11-25 09:52:12 +08:00
emqx_client_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_cm_SUITE.erl test(emqx_cm_SUITE): add a gen_server call sync 2021-11-11 10:33:31 +01:00
emqx_cm_locker_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_cm_registry_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_connection_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_ctl_SUITE.erl chore(version): update emqx version to 4.3.7 2021-08-05 10:00:03 +08:00
emqx_flapping_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_frame_SUITE.erl chore(test): variable integer test. 2021-09-28 15:15:05 +08:00
emqx_gc_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_global_gc_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_guid_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_hooks_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_http_lib_tests.erl fix(http): fix duplicate http headers 2021-11-17 14:14:12 +08:00
emqx_inflight_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_json_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_keepalive_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_limiter_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_listeners_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_logger_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_message_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_metrics_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_misc_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_mountpoint_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_mqtt_SUITE.erl fix(test): flaky mqtt expiry test case. (#6112) 2021-11-10 15:40:46 +08:00
emqx_mqtt_caps_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_mqtt_props_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_mqtt_protocol_v5_SUITE.erl test: fix a flacky test case 2021-06-04 16:04:58 +02:00
emqx_mqueue_SUITE.erl chore(mqueue): Implement live upgrade 2021-09-06 23:15:14 +02:00
emqx_os_mon_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_packet_SUITE.erl fix(emqx_packet): no crash if publish packet has no data 2021-05-04 13:48:35 +02:00
emqx_passwd_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_pd_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_plugins_SUITE.erl chore(typo): sepecial -> special 2021-05-24 10:45:56 +02:00
emqx_pmon_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_pool_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_pqueue_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_reason_codes_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_request_handler.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_request_responser_SUITE.erl chore: more copyright updates 2021-04-23 20:43:00 +02:00
emqx_request_sender.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_router_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_router_helper_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_sequence_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_session_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_shared_sub_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_stats_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_sup_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_sys_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_sys_mon_SUITE.erl feat(sys_mon): Add proc_lib:initial_call/1 and current_stacktrace (4.3) 2021-11-25 12:08:02 -03:00
emqx_tables_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_takeover_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_tls_lib_tests.erl fix(eunit): fix emqx_tls_lib_tests 2021-03-01 21:00:17 +08:00
emqx_topic_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_tracer_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_trie_SUITE.erl perf: micro optimisation: no lookup for non-wildcard in trie 2021-05-14 10:45:58 +02:00
emqx_vm_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_vm_mon_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00
emqx_ws_connection_SUITE.erl fix(ws_connection): check origin failure should return 403 not 500 2021-10-15 15:49:26 +08:00
emqx_zone_SUITE.erl chore: update copyrights 2021-04-23 20:43:00 +02:00