| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Move instrument.erl to runtime_tools
OTP-18487
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
|
| | |
|
|\ \
| |/
|/|
| |
| | |
* raimo/kernel/boot-on_load:
Use internal wildcard function from -on_load
|
| |
| |
| |
| |
| |
| | |
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...
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | |
|
| | |
|
|/
|
|
| |
This function can be used to trace to a file in clear text
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* '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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/ |
|
|
|
|
| |
This reverts commit a2c8df222e6d02fa518d5d6cbbea75a9dd720d30.
|
| |
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
OTP-18012
|
| |
| |
| |
| | |
OTP-18012
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
OTP-18012
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/ |
|
|
|
|
| |
This reverts commit 435bc5e68dd45ff6f7992077998930519208e910.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 95f5a792610ed4c87457863cb03b047414ad4a14.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`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-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
|