aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-11-21 14:52:00 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-11-21 14:48:12 +0000
commit14db426133dbd9b1f8a481350c8b8603e25d8fc2 (patch)
treec669389a03af37f9a7966a10156c653438f85dfe /doc
parent194bde265c9c207052f1039c54cf9d6cb32703c8 (diff)
Fix outdated perf profiler documentation
The event types should now be chosen in a structured way, not as additional arguments. This is a hotfix for 4.5. A more comprehensive documentation of the settings will follow in master. Task-number: QTCREATORBUG-19321 Change-Id: I56670bd8d54fa8a62eb35951d86e4023a2a8c680 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/analyze/cpu-usage-analyzer.qdoc17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/src/analyze/cpu-usage-analyzer.qdoc b/doc/src/analyze/cpu-usage-analyzer.qdoc
index dddea53102..b5d4b094a3 100644
--- a/doc/src/analyze/cpu-usage-analyzer.qdoc
+++ b/doc/src/analyze/cpu-usage-analyzer.qdoc
@@ -350,15 +350,14 @@
performance counters are dysfunctional and the Linux kernel may
randomly fail to record data after some time. Perf can use different
types of events to trigger samples. You can get a list of available
- event types by running \c {perf list} on the device and add
- \c {-e <event type>} to the \uicontrol {Additional arguments} field
- to change the event type to be used. The choice of event type
- affects the performance and stability of the sampling.
- \c {-e cpu-clock} is a safe but relatively slow option as it
- does not use the hardware performance counters, but drives the
- sampling from software. After the sampling has failed, reboot the
- device. The kernel may have disabled important parts of the
- performance counters system.
+ event types by running \c {perf list} on the device and then choose
+ the respective event types in the settings. The choice of event type
+ affects the performance and stability of the sampling. The
+ \c {cpu-clock} \c {software} event is a safe but relatively slow
+ option as it does not use the hardware performance counters, but
+ drives the sampling from software. After the sampling has failed,
+ reboot the device. The kernel may have disabled important parts of
+ the performance counters system.
\endlist
Output from the helper program that processes the data is displayed in the