我要评分
获取效率
正确性
完整性
易理解

Viewing Analysis Results

Prerequisites

A hotspot function analysis task has been created and the analysis is complete.

Procedure

  1. In the System Profiler area on the left, click the name of the target analysis task.

    The node list is displayed.

  2. Click the name of the target node to view the analysis results.
    • Click the node name. The Summary tab page is displayed by default, as shown in Figure 1. For details about the parameters, see Table 1.
      • The Tuning Suggestions area is displayed only when the system detects metrics to be tuned. You can expand the area to view detailed suggestions and solutions.
      • If a version optimized for the Kunpeng computing platform already exists, it is marked by . You can move the mouse pointer to the icon to view the tuning suggestion, download the optimized function, and copy the URL.
      • unknown indicates that the address of the function cannot be associated.
      • You can click to automatically locate the latest report. When all reports are generated, the automatic locating function is disabled. You can click a time point to view the corresponding analysis data.
      • In the data column, you can click for data search, to filter the data, and to sort the data in ascending or descending order.
      • You can search for functions in the search box in the Flame Graph area. Regular expression match and fuzzy match are supported. You can select Case sensitive to initiate case-sensitive query. During search, you can click or or press the up or down arrow key to switch the search result. You can press Enter to expand the selected function block, click + or - or scroll the mouse wheel to zoom in or zoom out the function block, and click to view how to use the flame graph.
      • Click a function name or call stack name in blue to view the source code information. You can click to navigate to the first line of the source code function. The source code association function requires that the GLIBC version on the server be 2.34 or later and the GLIBCXX version be 3.4.21 or later.
      Figure 1 Summary
      Figure 2 Associated source code
      Table 1 Parameters on the Summary tab page

      Parameter

      Description

      Hotspot Call Stack

      Grouping Mode

      Grouping mode for data display. The default value is Function/Callstack. Thread/Function/Callstack is unavailable.

      Function/Callstack

      The collected function name or call stack name.

      Proportion of Cycles (%)

      Percentage of the corresponding function or call stack in the entire cycle.

      Cycles

      The number of cycles of the corresponding function or call stack.

      Process Name

      The process name of the corresponding function or call stack.

      Shared Library/File

      The shared library or file of the corresponding function or call stack.

    • Click the Task Information tab to view the detailed configuration and sampling information about the task on the current node.

      If the task fails to be executed, the failure cause is displayed on the Task Information tab page.

      If some data fails to be collected but the overall task execution is not affected, you can view the exception message in Exception Information.

      Collection End Cause displays the reason why the data collection of the current task ends, for example, "Task collection times up" or "File size reaches the collection limit."