Age | Commit message (Collapse) | Author |
|
* dgud/observer/misc-fixes:
observer: Fix external monitors to registered processes in cdv
observer: Cleanup io server parts
observer: Fix range test
|
|
* dgud/observer/crashdump-run-queue/OTP/12401:
observer: Add scheduler run queue to cdv
|
|
|
|
|
|
|
|
Add a new menu to toggle log view.
Disabled by default.
Disabled if rb_server already started on observed node,
in order not to interfere with somebody else.
If enabled, add a tab in process view where log entries
related to pid process are shown.
Need an observed node with at least a version R16B2,
due to the use of newly capability to rb to write into
a file descriptor (on the observing node).
|
|
Missing information
|
|
following the last evolution - use wxStatusBar:new(Frame) then wxFrame:setStatusBar(Frame, StatusBar), the status bar use the full space available in frame.
move the creation of the status bar after the creation of the notebook and the mainsizer.
it is ok on windows 7 64bits, no other test done so far.
|
|
crashdump_viewer would crash if the owner of a timer was specified as
the process' regisered name. This has been corrected.
|
|
wx can not catch the delete of the status bar if
it have not created it, which might cause a crash.
|
|
Ensure that the server exists on close, even though linked to the test process
|
|
Avoids wxWidgets assert if the table is empty
|
|
* dgud/observer/test:
observer: Add simple test and add debug hooks in app
|
|
Add hooks in observer so that we can do some basic testing on it
|
|
A node to which we have references to multiple instances (creations)
will have an information line in the crashdump like this:
Creation: 1 2 ...
This would earlier crash because crashdump_viewer would try to do
list_to_integer on the value after "Creation: ". This is now
corrected.
This correction also helps the case when the emulator is debug
compiled, since the line could then be
Creation: 1 (refc=1)
|
|
crashdump_viewer:progress_pmap did sometimes hang since is spawned a
process, then monitored it and waited for a specific DOWN
message. When the process' work was very fast, it would exit before
the call to monitor and the DOWN message would contain reason 'noproc'
instead of the expected {pmap_done,Result}.
By doing spawn_monitor/1 instead, the monitor is always set before the
process exits so the deadlock is avoided.
|
|
Most dependencies introduced are exactly the dependencies to other
applications found by xref. That is, there might be real dependencies
missing. There might also be pure debug dependencies listed that
probably should be removed. Each application has to be manually
inspected in order to ensure that all real dependencies are listed.
All dependencies introduced are to application versions used in
OTP 17.0. This since the previously used version scheme wasn't
designed for this, and in order to minimize the work of introducing
the dependencies.
|
|
As discussed in issue #240 *all* OTP library applications use the '.*'
wildcard as up and down version. This makes library applications
always up- and downgradeable. Using the wildcard version obsoletes
all maintenance tasks regarding library applications' appup files.
Additionally, it prevents upgrade problems caused by automatically
included application dependencies when using reltool to create
releases. Missing copyright headers are now consistently present.
|
|
If cdv window is closed when progressbar was still running error
reports came to error logger (i.e. mostly test problem on slow machines)
|
|
Do not saw the branch you are sitting on...
Spawn cdv so that cdv get its own wx environment.
|
|
Heap binaries crashed, rework it and add links always.
So the user can the binary in hex or whatever view he wants
|
|
|
|
* siri/wx-cdv/OTP-11179:
observer: cosmetic gui tweaks
observer: Fix progress dialog creation
observer: renamed crashdump_viewer files and fixed makefiles
observer: improve wx version of crashdump_viewer
observer: Use crashdump_viewer's term viewer to display large terms and binaries
observer: Fix memory and scheduler info and handle missing fields
observer: Optimize row lookups
observer: improve wx version of crashdump_viewer
observer: Consolidate the view of process information
observer: add wx version of crashdump_viewer
|
|
Mainly mac stuff
|
|
Should not call showModal on a wxProgressdialog it is already display
(see doc) and it hangs on MacOSX until someone presses the menu.
|
|
|
|
* bugfixes
* add first test
* remove unused code
|
|
|
|
Fix app viewer crash
|
|
Use arrays instead of lists to cache data, gives faster lookups for
large contents.
Also update colors used in table viewer, indication new and changed rows.
Other minor bugfixes in tables viewer.
|
|
* bugfixes
* better progress dialogs
* show expanded binaries in different formats
* speed up reading of big crashdumps
|
|
Add clickable links to processes in process info
Use html pages (contains clickable processes) to view messages,
dictionary and other information.
|
|
The old web base crashdump_viewer is now removed.
|
|
There could be multiple processes scheduled to run
|
|
Use observer for the gui part
|
|
|
|
* siri/cdv/memory-info/OTP-10604:
[observer] Add mbcs_pool to allocator info in system window
[observer] Add mbcs_pool to allocator summary in crashdump_viewer
observer: Improve initial call info
observer: Add allocator info to gui
[observer] Present Memory for each process in crashdump_viewer
[observer] Add allocator summary in crashdump_viewer
|
|
|
|
|
|
|
|
A new field named "Memory" has been added for each process in the
crash dump. This is now shown by the crashdump_viewer. It replaces the
"Stack+heap" column in the process overview page, and is added to the
process detail page.
|
|
A new table with summary of allocator blocks- and carriers size is
added under "Allocator information" in crashdump viewer.
|
|
|
|
|
|
State of generic processes is shown in a new tab of the existing
processes view.
Behaviour is also shown when declared into the module attributes,
otherwise 'undefined'.
If state format is not detected, Format is set to 'overriden' when
format_status/2 is defined, otherwise 'unknown'.
Some processes don't treat system messages, this imply a short delay
for displaying the process view, arbitrary set to 200ms.
|
|
* siri/observer/misc-bugs/OTP-10894:
[observer] Extend timer to allow trace msgs to arrive over tcp/ip
[observer] Kill slave node between tests in etop_SUITE
[observer] Accept current function for a process to be 'undefined' on hipe
[observer] Improve measurement of CPU utilization in etop
[observer] Fix non tail-recusive loop when measuring scheduler utilization
|
|
* ats/observer_tv_improper_lists/OTP-10931:
Fix observer table viewer crash on formatting improper lists
|
|
|
|
Now using scheduler_wall_time instead of runtime/wall_clock to get cpu
utilization. The old version could give CPU utilization far beyond 100%.
Also, a bug which sometimes gave a badarith when calculating the CPU
utilization is corrected.
|
|
Observer table viewer crashes when attempts to display a term containing improper lists (e.g. dict). Quick way to reproduce: run
ets:insert(ets:new(test,[]), {1,[h|t]}).
then start observer and open test ETS in table viewer. Observer will crash.
|