aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src
AgeCommit message (Collapse)Author
2011-10-28Merge branch 'siri/observer/ttb-test-cleanup-slave-nodes/OTP-9644'Siri Hansen
* siri/observer/ttb-test-cleanup-slave-nodes/OTP-9644: Adjust ttb_SUITE to work better on windows Cleanup after testcases in ttb_SUITE
2011-10-27Close ip_to_file trace port in ttb:stopSiri Hansen
This is a relay port opened from the IP trace client when tracing diskless nodes. The port was not closed properly in ttb:stop, which caused problems on windows since the file could not be moved to the upload directory before the file descriptor was closed.
2011-10-27Cleanup after testcases in ttb_SUITESiri Hansen
Slave nodes were earlier stopped inside each test case. If a test case failed before this point, a slave node would survive and it might interfere with the next test case causing multiple failures. This commit moves the stopping of slave nodes out to a separate function for each test case - called during end_per_testcase. A minor correction is also done in ttb:ensure_no_overloaded_nodes - the reply message sent back from the ttb process is tagged so only the expected message will be picked from the message queue. Otherwise, for instance nodedown messages from the monitoring of slave nodes (by the test cases) could be received here. Finally, the sleep timer when waiting for trace messages to arrive over tcp/ip is extended a bit since test cases sometimes failed with missing trace messages here.
2011-09-06Merge branch 'pd/ttb-cleanup' into majorHenrik Nord
OTP-9430 OTP-9403 OTP-9431
2011-08-30Print path to logs dir unless nofetch option specified.Andrzej Telezynski
2011-08-30Removed unused option to send realtime trace to erlide.Andrzej Telezynski
2011-08-30Stop option 'return' changed to 'return_fetch_dir'Andrzej Telezynski
2011-08-30It is safe to change cwd on control node or remote nodes while tracingAndrzej Telezynski
2011-08-30(BUGFIX) Error with ip tracing to wrap setsPiotr Dorobisz
2011-08-30Include logfile name in fetch directory namePiotr Dorobisz
2011-08-30dbg-type tracingPiotr Dorobisz
2011-08-30Optional handler specification allowed in stop/1 - Allowed optional handler ↵Piotr Dorobisz
specification in trace/2
2011-08-30Flush file trace port buffers with given frequencyPiotr Dorobisz
2011-08-30Autoresume tracingPiotr Dorobisz
2011-08-30showing trace messages on the console in real timePiotr Dorobisz
2011-08-30BUGFIX Occasional deadlock on ttb:stopPiotr Dorobisz
2011-08-30Overload protectionPiotr Dorobisz
2011-08-30BUGFIX Fetch fails when nodes on the same host have different cwdPiotr Dorobisz
2011-08-30et handled in a generic wayPiotr Dorobisz
2011-08-30Optional handler specification allowed in stop/1Piotr Dorobisz
2011-08-30Use shared handler state for all clientsPiotr Dorobisz
2011-08-30Always use timestamp, optional sortingPiotr Dorobisz
2011-08-30Time-constrained tracingPiotr Dorobisz
2011-08-30BUGFIX Fetch fails when nodes on the same host have different cwdPiotr Dorobisz
2011-08-30One-command trace setupPiotr Dorobisz
2011-08-30Allow to specify fetch directoryPiotr Dorobisz
2011-08-30Allow single option when list is requiredPiotr Dorobisz
2011-08-30Match specification shortcutsPiotr Dorobisz
2011-08-30fetch is default when stoppingPiotr Dorobisz
2011-08-30ttb:stop([return]) should imply fetching the dataPiotr Dorobisz
2011-08-30BUGFIX stop([fetch]) crashes when the option {file,{local,F}} has been givenPiotr Dorobisz
2011-08-01Do not install *.bat files on non-win32 machinesHans Ulrich Niedermann
Signed-off-by: Peter Lemenkov <[email protected]> Signed-off-by: Hans Ulrich Niedermann <[email protected]>
2011-03-03Bugfix: Never deliver empty chunk to inetsSiri Hansen
2011-02-28Fix file descriptor leak in crashdump_viewer:chunk_pageSiri Hansen
Also, remove compiler warnings for crashdump_viewer_SUITE and fix Makefile in test directory so Emakefile does not grow.
2011-02-28Minor bugfix related to improved performance of crashdump_viewerSiri Hansen
2011-02-28Add shell script and .bat file to start crashdump_viewerSiri Hansen
Since browsers no longer can provide the full path of a file selected with a file-type input field (browse button), the input field for loading a crashdump is now changed to a plain text input field. Since this reduces the user-friendlyness, a shell script (and a .bat file) has instead been added so the crashdump_viewer can be started directly from the command line - and thus normal tab completion can be used for selecting the crashdump file. Usage: cdv file [ browser ]
2011-02-28Fix slow parsing of crashdumpsSiri Hansen
This is a first attempt at fixing the problem described in seq11783 - crashdump_viewer is very slow at parsing big crashdumps. To open the first page for a dump of 17M takes about 2 minutes and a dump of 280M takes 1.5-2 hours. The main problmem is that the cdv_dump_index_table, which holds all tags read from the dump, is a bag. Profiling shows that ~95% of the time is spent in ets:insert. The table is now changed to an ordered_set. A second problem occured when a page with many table rows was opened. These pages were sent to inet in one chunk, causing both crashdump_viewer_server and the inets (mod_esi) process to grow very much in memory usage. To overcome this, the pages are now sent to inets in chunks of 1000 rows, and the data is coverted to binaries to avoid data copying between the two processes. Also, some new information in the crashdump was not recognized by the crashdump_viewer. This has been fixed.
2010-09-17Fix installation of example file in lib/observerPeter Lemenkov
Files (actually one file - multitrace.erl), marked as EXAMPLE_FILES are installed into $(RELSYSDIR)/src which is inconsistent with installation procedure for other example file in other modules. This file should be installed into $(RELSYSDIR)/examples directory. Signed-off-by: Peter Lemenkov <[email protected]>
2009-12-09OTP-8304 Incompatible changes in the experimental NIF feature. Changed theSverker Eriksson
NIF function prototypes in order to allow more than 3 function arguments. Also an incompatible change in the return value of erlang:load_nif/2. Added support for references, floats and term comparison in NIFs. Read more in the documentation of erl_nif and erlang:load_nif/2.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP