summaryrefslogtreecommitdiff
path: root/lib/runtime_tools
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releaseErlang/OTP2023-05-152-1/+66
|
* Update copyright yearErlang/OTP2023-05-152-2/+2
|
* dbg: deprecates function dbg:stop_clear/1Kiko Fernandez-Reyes2023-04-192-23/+24
| | | | | | | | function `dbg:stop_clear/1` is not documented in the API but was kept for compatibility reasons. in this commit we make a step forward to deprecating its use such that it will be eventually removed. closes GH-6903.
* Revert "Prepare release"Henrik Nord2023-04-122-59/+1
| | | | This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
* Prepare releaseErlang/OTP2023-04-112-1/+59
|
* Update copyright yearErlang/OTP2023-04-112-2/+2
|
* [runtime_tools,erts] Remove erts_alloc_configRickard Green2023-04-067-1111/+16
|
* Revert "Prepare release"Henrik Nord2023-03-222-47/+1
| | | | This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
* Prepare releaseErlang/OTP2023-03-212-1/+47
|
* Update copyright yearErlang/OTP2023-03-217-7/+7
|
* fix instrument:carriers specZeyu Zhang2023-02-281-3/+3
|
* Merge pull request #6829 from josevalim/jv-move-instrumentJohn Högberg2023-02-229-1/+791
|\ | | | | | | | | Move instrument.erl to runtime_tools OTP-18487
| * Move instrument.erl to runtime_toolsJosé Valim2023-02-159-1/+791
| | | | | | | | | | | | | | | | | | instrument.erl can be a useful tool for debugging memory allocation and memory leaks in production systems. For example, eventually we could have a button in Observer that invokes instrument and prints a histogram on demand. For this purpose, however, it must be part of runtime_tools.
* | Revert "Prepare release"Henrik Nord2023-02-152-29/+1
| | | | | | | | This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
* | Prepare releaseErlang/OTP2023-02-142-1/+29
| |
* | Merge branch 'raimo/kernel/boot-on_load'Raimo Niskanen2023-02-131-1/+23
|\ \ | |/ |/| | | | | * raimo/kernel/boot-on_load: Use internal wildcard function from -on_load
| * Use internal wildcard function from -on_loadRaimo Niskanen2023-02-131-1/+23
| | | | | | | | | | | | The file server may not be started in embedded mode, so we have to use our own undocumented option to filelib:wildcard/2 to avoid hanging, waiting fo the file server, in embedded mode...
* | Remove HiPE info from system_information.erlJosé Valim2023-02-042-41/+0
|/
* Merge branch 'maint' into masterHenrik Nord2022-09-211-1/+1
|\ | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Update copyright yearErlang/OTP2022-09-201-1/+1
| |
* | dbg: Start using caller_line in dbgLukas Larsson2022-07-081-2/+2
| |
* | dbg: Add dbg:tracer(file, Filename)Lukas Larsson2022-07-083-5/+42
|/ | | | This function can be used to trace to a file in clear text
* Merge branch 'deterministic-build' of https://github.com/TD5/otp into maintBjörn Gustavsson2022-06-291-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | * 'deterministic-build' of https://github.com/TD5/otp: make: Allow OTP to be built deterministically compiler: Make test_lib robust to +deterministic compiler: Make compiler forward +determinsitic flag to epp compiler: Make yecc respect +deterministic compiler: Make leex respect +deterministic compiler: Make asn1ct_gen respect +deterministic compiler: Make EPP respect +deterministic OTP-18165
| * make: Allow OTP to be built deterministicallyTom Davies2022-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a --enable-deterministic-build to the configure script, which sets ERL_DETERMINISTIC=yes throughout the relevant Makefiles, which then invoke the relevant build stages with the +deterministic option. This addresses absolute paths being included in generated .erl files and compiled .beam files that resulted in builds from different source directories generating different artefacts (which is a component of the issue in erlang#4482). I think it would make sense to make this the default at some stage, but I've put the change behind a flag for now to decouple making deterministic OTP builds possible from making them the default. Having +deterministic set results in compiler options being removed from the module info for modules where this options was used. This may have other implications for users of OTP. For tests themselves, +determinism is not set, since many test cases depend on accessing the test module's compilation options, or other features not available in deterministic mode, in order to configure themselves. For tests of the determinism feature specifically, +deterministic must be explicitly passed to the compiler within the relevant test cases.
* | runtime_tools: sys_info_SUITE:sanity_check needs releaseLukas Larsson2022-06-172-1/+2
| |
* | Prepare releaseErlang/OTP2022-05-172-1/+38
|/
* Revert "Prepare release"Henrik Nord2022-04-132-38/+1
| | | | This reverts commit a2c8df222e6d02fa518d5d6cbbea75a9dd720d30.
* Prepare releaseErlang/OTP2022-04-112-1/+38
|
* erts: Remove unused CERL_DETACHED_PROG codeLukas Larsson2022-04-062-2/+0
| | | | | | | The CERL_DETACHED_PROG code seems to be a relic that is no longer used. So we delete it doesn't work anyway. Closes #4323
* Merge branch 'bmk/observer/20220330/port_socket_options/OTP-18012'Micael Karlberg2022-04-041-14/+45
|\ | | | | | | OTP-18012
| * [observer|runtime_tools] Fixed dialyzer issueMicael Karlberg2022-04-011-5/+2
| | | | | | | | OTP-18012
| * [observer] What to do with "bad" optionsMicael Karlberg2022-03-311-6/+11
| | | | | | | | | | | | | | | | | | | | | | Include "bad" options in the list, but not with a "value" (since we did not get any). Instead with something that will explain "something": A string; either "-", "Not Supported" or "error: ..." We can see what is missing and why (its better then nothing). Also, this is approx like what is done for socket. OTP-18012
| * [runtime_tools|observer] Fix copyright end dateMicael Karlberg2022-03-311-1/+1
| | | | | | | | OTP-18012
| * [observer] Reading invalid port socket optionsMicael Karlberg2022-03-301-9/+38
| | | | | | | | | | | | | | | | Reading port socket options is now done "individually". This means that if one option is invalid its simply skipped, and we continue with the rest. OTP-18012
* | runtime_tools: Use new -nifs([]) attributeSverker Eriksson2022-03-291-0/+12
|/
* Revert "Prepare release"Henrik Nord2022-03-242-25/+1
| | | | This reverts commit 435bc5e68dd45ff6f7992077998930519208e910.
* Prepare releaseErlang/OTP2022-03-232-1/+25
|
* Update copyright yearErlang/OTP2022-03-232-2/+2
|
* Merge branch 'maint' into masterHenrik Nord2022-03-103-3/+35
|\ | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Prepare releaseErlang/OTP2022-03-093-3/+35
| |
| * Update copyright yearErlang/OTP2022-03-093-3/+3
| |
* | runtime_tools: Schedule erts_alloc_config for removalJohn Högberg2022-02-212-5/+8
| |
* | Revert "Prepare release"Henrik Nord2022-02-163-19/+3
| | | | | | | | This reverts commit 95f5a792610ed4c87457863cb03b047414ad4a14.
* | Prepare releaseErlang/OTP2022-02-153-3/+19
| |
* | Update copyright yearErlang/OTP2022-02-1511-11/+11
| |
* | dbg: Disarm the stop/0 footgunJohn Högberg2022-02-022-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `dbg:stop/0` explicitly leaves global function tracing untouched, which can lead to some very confusing situations: 1. As it clears the trace flags of all processes, it often *looks* like all global function trace patterns have been cleared, leaving a fun surprise for the next poor sod that tries to trace anything. 2. It makes it really annoying to clear global function traces afterwards, as we've discarded all information on what nodes we've been tracing on. The user more or less has to call `erlang:trace_pattern/3` themselves on all nodes they've traced on. Since clearing the trace flags of all processes means that `dbg` can't coexist with other trace tools to begin with, there is very little point in keeping global trace patterns around after stop/0. This commit makes stop/0 behave like stop_clear/0, ensuring that *ALL* tracing is turned off on *ALL* associated nodes before shutting down.
* | otp: Fix `make TYPE=$TYPE` to work for all typesLukas Larsson2022-01-212-2/+2
| |
* | otp: Make tests pass when run in source treeLukas Larsson2022-01-212-0/+14
| |
* | Merge branch 'maint'Sverker Eriksson2022-01-113-38/+181
|\ \ | |/
| * Merge branch 'sverker/scheduler_wall_time-doc' into maintSverker Eriksson2022-01-113-38/+181
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-17800 OTP-17830 * sverker/scheduler_wall_time-doc: runtime_tools: Add scheduler:get_sample/0 and get_sample_all/0 runtime_tools: Fix bug in scheduler:utilization(Seconds) erts: Clarify system_flag(scheduler_wall_time,_) docs