Doc: Update Performance Analyzer docs
- Describe Create Memory Trace Points button - Describe Create Memory Trace Points dialog in more detail - Fix "Load perf.data File" menu item name - Update screenshots Task-number: QTCREATORBUG-26278 Change-Id: I028d8da6f19a61bbe457c94287779c2aed0ab7ba Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
After Width: | Height: | Size: 183 B |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
@@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2019 The Qt Company Ltd.
|
||||
** Copyright (C) 2021 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the Qt Creator documentation.
|
||||
@@ -72,7 +72,9 @@
|
||||
\li Select the
|
||||
\inlineimage qtcreator-analyze-start-button.png
|
||||
(\uicontrol Start) button to start the application from the
|
||||
Performance Analyzer.
|
||||
\uicontrol {Performance Analyzer}.
|
||||
|
||||
\inlineimage qtcreator-performance-analyzer-toolbar.png "Performance Analyzer toolbar"
|
||||
|
||||
\endlist
|
||||
|
||||
@@ -101,9 +103,21 @@
|
||||
|
||||
To create trace points for profiling memory usage on a target device, select
|
||||
\uicontrol Analyze > \uicontrol {Performance Analyzer Options} >
|
||||
\uicontrol {Create Memory Trace Points}.
|
||||
\uicontrol {Create Memory Trace Points} or select
|
||||
\inlineimage icons/create-tracepoint.png
|
||||
on the \uicontrol {Performance Analyzer} toolbar.
|
||||
|
||||
To add events for the trace points, see \l{Choosing Event Types}
|
||||
In the \uicontrol {Create Memory Trace Points} dialog, you can modify the
|
||||
script to run.
|
||||
|
||||
\image qtcreator-performance-analyzer-create-memory-trace-points.png "Create Memory Trace Points dialog"
|
||||
|
||||
If you need root privileges to run scripts as root, select the privileges to
|
||||
use in the \uicontrol {Elevate privileges using} field.
|
||||
|
||||
Select \uicontrol OK to run the script.
|
||||
|
||||
To add events for the trace points, see \l{Choosing Event Types}.
|
||||
|
||||
You can record a memory trace to view usage graphs in the samples rows of
|
||||
the timeline and to view memory allocations, peaks, and releases in the
|
||||
@@ -418,8 +432,8 @@
|
||||
|
||||
You can load any \c perf.data files generated by recent versions of the
|
||||
Linux Perf tool and view them in \QC. Select \uicontrol Analyze >
|
||||
\uicontrol {Performance Analyzer Options} > \uicontrol {Load perf.data} to
|
||||
load a file.
|
||||
\uicontrol {Performance Analyzer Options} > \uicontrol {Load perf.data File}
|
||||
to load a file.
|
||||
|
||||
\image qtcreator-cpu-usage-analyzer-load-perf-trace.png
|
||||
|
||||
|
||||