aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src
AgeCommit message (Collapse)Author
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.
2013-03-14Merge branch 'siri/observer/misc-bugs/OTP-10894' into maintSiri Hansen
* 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
2013-03-12Merge branch 'ats/observer_tv_improper_lists/OTP-10931' into maintFredrik Gustafsson
* ats/observer_tv_improper_lists/OTP-10931: Fix observer table viewer crash on formatting improper lists
2013-03-04[observer] Accept current function for a process to be 'undefined' on hipeSiri Hansen
2013-03-04[observer] Improve measurement of CPU utilization in etopSiri Hansen
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.
2013-02-16Fix observer table viewer crash on formatting improper listsAndrey Tsirulev
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.
2013-02-15Use "open" as default browser for crashdump viewer on Mac OS XMagnus Henoch
Running "open" on an HTTP URL will pass it to the system's configured default browser.
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-23Turn warnings to errors on selected applicationsBjörn Gustavsson
2013-01-18Merge branch 'nox/enable-silent-rules/OTP-10726'Björn-Egil Dahlberg
* nox/enable-silent-rules/OTP-10726: Implement ./otp_build configure --enable-silent-rules
2013-01-15Implement ./otp_build configure --enable-silent-rulesAnthony Ramine
With silent rules, the output of make is less verbose and compilation warnings are easier to spot. Silent rules are disabled by default and can be disabled or enabled at will by make V=0 and make V=1.
2013-01-09wx: Workaround wx-2.9 bugsDan Gudmundsson
Menuhandling in 2.9 is (currently) buggy on mac, this avoids a crash in menu handling but causes a lot unusable menus.
2013-01-09observer: Fix check for graphics contextsDan Gudmundsson
wxWidgets-2.9 seg faults if you try to create a graphics context before the window is shown. With bad timing this can happen. So change the haveGC test to check if the functionality is available without creating the GraphicsContext.