aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src
AgeCommit message (Collapse)Author
2015-03-27Merge branch 'dgud/observer/allocator-graphs/OTP-12631'Dan Gudmundsson
* dgud/observer/allocator-graphs/OTP-12631: observer: Fix menu code (for mac) observer: Add a new tab memory allocator charts
2015-03-27observer: Fix menu code (for mac)Dan Gudmundsson
Have been broken since: 6fe02e14d observer: Add SASL log view for processes
2015-03-27observer: Add a new tab memory allocator chartsDan Gudmundsson
Easier to the see memory usage and utilization as charts instead of values that is updating during runtime. Remove from system page and create a separate allocator tab.
2015-03-20Merge branch 'rickard/time_api/OTP-11997'Rickard Green
* rickard/time_api/OTP-11997: (22 commits) Update primary bootstrap inets: Suppress deprecated warning on erlang:now/0 inets: Cleanup of multiple copies of functions Add inets_lib with common functions used by multiple modules inets: Update comments Suppress deprecated warning on erlang:now/0 Use new time API and be back-compatible in inets Remove unused functions and removed redundant test asn1 test SUITE: Eliminate use of now/0 Disable deprecated warning on erlang:now/0 in diameter_lib Use new time API and be back-compatible in ssh Replace all calls to now/0 in CT with new time API functions test_server: Replace usage of erlang:now() with usage of new API Replace usage of erlang:now() with usage of new API Replace usage of erlang:now() with usage of new API Replace usage of erlang:now() with usage of new API Replace usage of erlang:now() with usage of new API otp_SUITE: Warn for calls to erlang:now/0 Replace usage of erlang:now() with usage of new API Multiple timer wheels Erlang based BIF timer implementation for scalability Implement ethread events with timeout ... Conflicts: bootstrap/bin/start.boot bootstrap/bin/start_clean.boot bootstrap/lib/compiler/ebin/beam_asm.beam bootstrap/lib/compiler/ebin/compile.beam bootstrap/lib/kernel/ebin/auth.beam bootstrap/lib/kernel/ebin/dist_util.beam bootstrap/lib/kernel/ebin/global.beam bootstrap/lib/kernel/ebin/hipe_unified_loader.beam bootstrap/lib/kernel/ebin/inet_db.beam bootstrap/lib/kernel/ebin/inet_dns.beam bootstrap/lib/kernel/ebin/inet_res.beam bootstrap/lib/kernel/ebin/os.beam bootstrap/lib/kernel/ebin/pg2.beam bootstrap/lib/stdlib/ebin/dets.beam bootstrap/lib/stdlib/ebin/dets_utils.beam bootstrap/lib/stdlib/ebin/erl_tar.beam bootstrap/lib/stdlib/ebin/escript.beam bootstrap/lib/stdlib/ebin/file_sorter.beam bootstrap/lib/stdlib/ebin/otp_internal.beam bootstrap/lib/stdlib/ebin/qlc.beam bootstrap/lib/stdlib/ebin/random.beam bootstrap/lib/stdlib/ebin/supervisor.beam bootstrap/lib/stdlib/ebin/timer.beam erts/aclocal.m4 erts/emulator/beam/bif.c erts/emulator/beam/erl_bif_info.c erts/emulator/beam/erl_db_hash.c erts/emulator/beam/erl_init.c erts/emulator/beam/erl_process.h erts/emulator/beam/erl_thr_progress.c erts/emulator/beam/utils.c erts/emulator/sys/unix/sys.c erts/preloaded/ebin/erlang.beam erts/preloaded/ebin/erts_internal.beam erts/preloaded/ebin/init.beam erts/preloaded/src/erts_internal.erl lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl lib/diameter/src/base/diameter_lib.erl lib/kernel/src/os.erl lib/ssh/test/ssh_basic_SUITE.erl system/doc/efficiency_guide/advanced.xml
2015-03-20Replace usage of erlang:now() with usage of new APIDan Gudmundsson
2015-03-11Merge branch 'dgud/observer/misc-fixes'Dan Gudmundsson
* dgud/observer/misc-fixes: observer: Fix external monitors to registered processes in cdv observer: Cleanup io server parts observer: Fix range test
2015-03-11Merge branch 'dgud/observer/crashdump-run-queue/OTP/12401'Dan Gudmundsson
* dgud/observer/crashdump-run-queue/OTP/12401: observer: Add scheduler run queue to cdv
2015-02-20observer: Fix external monitors to registered processes in cdvSiri Hansen
2015-02-20observer: Cleanup io server partsDan Gudmundsson
2015-02-20observer: Fix range testDan Gudmundsson
2015-02-19observer: Add SASL log view for processescrownedgrouse
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).
2015-02-17observer: Add scheduler run queue to cdvDan Gudmundsson
Missing information
2014-08-08correction of huge status barpascalchap
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.
2014-05-27[cdv] Allow registered name as owner of timer in crashdumpSiri Hansen
crashdump_viewer would crash if the owner of a timer was specified as the process' regisered name. This has been corrected.
2014-04-17observer: Let wx create statusbarDan Gudmundsson
wx can not catch the delete of the status bar if it have not created it, which might cause a crash.
2014-04-17observer: Destroy the wx envDan Gudmundsson
Ensure that the server exists on close, even though linked to the test process
2014-04-16observer: Fix range checkDan Gudmundsson
Avoids wxWidgets assert if the table is empty
2014-03-28Merge branch 'dgud/observer/test'Dan Gudmundsson
* dgud/observer/test: observer: Add simple test and add debug hooks in app
2014-03-28observer: Add simple test and add debug hooks in appDan Gudmundsson
Add hooks in observer so that we can do some basic testing on it
2014-03-25Fix crash in crashdump_viewer when node has multiple creationsSiri Hansen
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)
2014-03-25Change spawn/1 + monitor/2 to spawn_monitor/1 to avoid deadlockSiri Hansen
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.
2014-03-20Introduce runtime_dependencies in .app filesRickard Green
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.
2014-02-18Fix library application appup filesTobias Schlager
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.
2014-02-06observer: catch progressbar errorsDan Gudmundsson
If cdv window is closed when progressbar was still running error reports came to error logger (i.e. mostly test problem on slow machines)
2014-02-04observer: Fix observer crash when closing crashdumpviewerDan Gudmundsson
Do not saw the branch you are sitting on... Spawn cdv so that cdv get its own wx environment.
2014-02-03observer: Fix binary linksDan Gudmundsson
Heap binaries crashed, rework it and add links always. So the user can the binary in hex or whatever view he wants
2014-02-03observer: Fix crash when clicking on pid inside a html-termDan Gudmundsson
2014-01-28Merge branch 'siri/wx-cdv/OTP-11179'Siri Hansen
* 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
2014-01-27observer: cosmetic gui tweaksDan Gudmundsson
Mainly mac stuff
2014-01-27observer: Fix progress dialog creationDan Gudmundsson
Should not call showModal on a wxProgressdialog it is already display (see doc) and it hangs on MacOSX until someone presses the menu.
2014-01-27observer: renamed crashdump_viewer files and fixed makefilesSiri Hansen
2014-01-27observer: improve wx version of crashdump_viewerSiri Hansen
* bugfixes * add first test * remove unused code
2014-01-27observer: Use crashdump_viewer's term viewer to display large terms and binariesDan Gudmundsson
2014-01-27observer: Fix memory and scheduler info and handle missing fieldsDan Gudmundsson
Fix app viewer crash
2014-01-27observer: Optimize row lookupsDan Gudmundsson
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.
2014-01-27observer: improve wx version of crashdump_viewerSiri Hansen
* bugfixes * better progress dialogs * show expanded binaries in different formats * speed up reading of big crashdumps
2014-01-27observer: Consolidate the view of process informationDan Gudmundsson
Add clickable links to processes in process info Use html pages (contains clickable processes) to view messages, dictionary and other information.
2014-01-27observer: add wx version of crashdump_viewerSiri Hansen
The old web base crashdump_viewer is now removed.
2014-01-10Fix etop trace handler in smp environmentPéter Gömöri
There could be multiple processes scheduled to run
2013-11-11Remove etop guiDan Gudmundsson
Use observer for the gui part
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
2013-06-04Merge branch 'siri/cdv/memory-info/OTP-10604' into maintSiri Hansen
* 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
2013-06-04[observer] Add mbcs_pool to allocator info in system windowSiri Hansen
2013-06-04[observer] Add mbcs_pool to allocator summary in crashdump_viewerSiri Hansen
2013-05-23observer: Add allocator info to guiSiri Hansen
2013-05-21[observer] Present Memory for each process in crashdump_viewerSiri Hansen
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.
2013-05-21[observer] Add allocator summary in crashdump_viewerSiri Hansen
A new table with summary of allocator blocks- and carriers size is added under "Allocator information" in crashdump viewer.
2013-05-21observer: corrected tip messageFredrik Gustafsson
2013-05-21observer: re-indetion of observer_procinfo.erlFredrik Gustafsson
2013-05-21Add processes state view in observercrownedgrouse
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.