sysperfana/memspyext/com.nokia.s60tools.memspy.help/html/tasks/view_swmt_log.htm
changeset 7 8e12a575a9b5
equal deleted inserted replaced
6:f65f740e69f9 7:8e12a575a9b5
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
       
     2 <html>
       
     3 <head>
       
     4   <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
       
     5   <title>Importing and analyzing System Wide Memory Tracking log files</title>
       
     6   <link href="../../book.css" type="text/css" rel="stylesheet">
       
     7 </head>
       
     8 
       
     9 <body>
       
    10 <h2>Importing and analyzing System Wide Memory Tracking log files</h2>
       
    11 <ol>
       
    12   <li>Click the <img src="../images/Memspy_16.png"> icon to start the MemSpy
       
    13     Import Wizard.</li>
       
    14   <li>Select to <b>Import System Wide Memory Tracking logs and analyse them
       
    15     with SWMT Analyser</b>, and click <b>Next</b>.</li>
       
    16   <li><p>Select whether to get the SWMT log files <b>From File System</b> or
       
    17     <b>From Device via TraceViewer</b>.</p>
       
    18     <p><img src="../images/import_swmt_1.png"></p>
       
    19     <ul>
       
    20       <li>If you selected <b>From File System</b>, define the SWMT log file
       
    21         location and then a log file, and click <b>Next</b>.</li>
       
    22       <li><p>If you selected <b>From Device via TraceViewer</b>, click <b>Get
       
    23         SWMT Log Now</b> to get an SWMT log file from the device. After this
       
    24         you can set a timer interval to get log files automatically at defined
       
    25         intervals. Select the interval and click <b>Start Timer</b>. Note that
       
    26         each log added with a timer or by clicking <b>Get SWMT Log Now</b>
       
    27         contains only changes since the last received log. To stop the timer,
       
    28         click <b>Stop Timer</b>. </p>
       
    29         <p><img src="../images/import_swmt_2.png"></p>
       
    30       </li>
       
    31       <li>In <b>Tracked Categories and Advanced Options</b>, select a
       
    32         predefined set of categories, or select <b>Custom Categories and
       
    33         Advanced Options</b> and click <b>Edit</b>. In the <b>Advanded
       
    34         Options</b>, you can select categories for SWMT logging and customise
       
    35         the logging options. 
       
    36         <p>To stop the S60 MemSpy application in the target device between log
       
    37         cycles, select the option <b>Close MemSpy Symbian Agent Between
       
    38         Cycles</b>. Closing the agent between cycles makes it possible to get
       
    39         full SWMT snapshot for each data fetch cycle (instead of getting only
       
    40         delta information).</p>
       
    41         <p>To include in the SWMT log cycle heap dumps for later analysis in
       
    42         <b>Heap Analyser</b>, select the option <b>Get Heap Dumps for Threads
       
    43         to Analyse with Heap Analyser</b>. </p>
       
    44         To use a thread heap filter, type the filter name (such as <i>Akn</i>)
       
    45         in the <b>Heap Data Thread Filter</b> field.
       
    46         <p><img src="../images/import_swmt_3.png"></p>
       
    47       </li>
       
    48     </ul>
       
    49     <p>If the connection to the target device fails, click <b>Connection
       
    50     Settings</b> and configure connection settings.</p>
       
    51   </li>
       
    52   <li>Click <b>Finish</b>. A <b>MemSpy</b> tab appears in the Carbide.c++
       
    53     Tabbed View Area with a file list populated. The received log files appear
       
    54     in the file list.</li>
       
    55 </ol>
       
    56 
       
    57 <h5>Related tasks</h5>
       
    58 <ul>
       
    59   <li><a href="use_swmt_analyser.htm">Using SWMT Analyser</a></li>
       
    60   <li><a href="connection_settings.htm">Configuring connection settings</a></li>
       
    61 </ul>
       
    62 
       
    63 <div id="footer">
       
    64 Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights
       
    65 reserved. License: <a
       
    66 href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div>
       
    67 </body>
       
    68 </html>